mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: 3 caliber auto ricochet
This commit is contained in:
1 parent
99123b733d
commit
5044a5be48
6 files changed
+52
-52
No files matched your search
@@ -58,18 +58,24 @@ interface GunDefinitionAutoReloader {
|
||||
interClip: number;
|
||||
count: number;
|
||||
}
|
||||
export interface ShellDefinition {
|
||||
export type ShellDefinition = {
|
||||
id: number;
|
||||
name: string;
|
||||
speed: number;
|
||||
damage: { armor: number; devices: number };
|
||||
caliber: number;
|
||||
normalization: number;
|
||||
ricochet: number;
|
||||
type: ShellType;
|
||||
icon: string;
|
||||
penetration: number | Vector2Tuple;
|
||||
}
|
||||
} & (
|
||||
| {
|
||||
type: Omit<ShellType, 'hc' | 'he'>;
|
||||
normalization: number;
|
||||
ricochet: number;
|
||||
}
|
||||
| {
|
||||
type: Omit<ShellType, 'ap' | 'ap_cr'>;
|
||||
}
|
||||
);
|
||||
|
||||
export const tankDefinitions = fetch(asset('definitions/tanks.json'), {
|
||||
cache: 'no-cache',
|
||||
|
||||
Reference in new issue
Block a user