mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: skill stats
This commit is contained in:
1 parent
eaff26c8d9
commit
099e5eb228
3 files changed
+45
-14
No files matched your search
@@ -38,12 +38,12 @@ export interface TankopediaPersistent {
|
||||
test: TankopediaTestTankDisplay;
|
||||
page: number;
|
||||
};
|
||||
skills: Record<string, number>;
|
||||
mode: TankopediaMode;
|
||||
}
|
||||
|
||||
interface TankopediaTemporary {
|
||||
shot?: Shot;
|
||||
skills: Record<string, number>;
|
||||
}
|
||||
|
||||
export interface ShotLayerBase {
|
||||
@@ -147,7 +147,6 @@ export const useTankopediaPersistent = create<TankopediaPersistent>()(
|
||||
test: 'include',
|
||||
page: 0,
|
||||
},
|
||||
skills: {},
|
||||
mode: 'model',
|
||||
})),
|
||||
{ name: 'tankopedia', merge: (a, b) => merge(b, a) },
|
||||
@@ -155,7 +154,9 @@ export const useTankopediaPersistent = create<TankopediaPersistent>()(
|
||||
);
|
||||
|
||||
export const useTankopediaTemporary = create<TankopediaTemporary>()(
|
||||
subscribeWithSelector<TankopediaTemporary>(() => ({})),
|
||||
subscribeWithSelector<TankopediaTemporary>(() => ({
|
||||
skills: {},
|
||||
})),
|
||||
);
|
||||
|
||||
export default function mutateTankopediaPersistent(
|
||||
|
||||
Reference in new issue
Block a user