feat: he based gaps

This commit is contained in:
TrèsAbhi committed 2024-02-03 12:16:33 -06:00
1 parent 8f9306a3db
commit d89575b25d
3 files changed
+68 -24

No files matched your search

+12 -7
View File
@@ -76,13 +76,18 @@ export type Shot = {
angle: number;
};
export interface ArmorPiercingLayer {
nominal: number;
angled: number;
ricochet: boolean;
block: boolean;
type: 'core' | 'spaced' | 'external';
}
export type ArmorPiercingLayer =
| {
distance: number;
nominal: number;
angled: number;
ricochet: boolean;
type: 'core' | 'spaced' | 'external';
}
| {
type: 'gap';
gap: number;
};
export const useTankopediaPersistent = create<TankopediaPersistent>()(
persist(