mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-28 12:23:24 +01:00
penetration
This commit is contained in:
1 parent
bf132a7387
commit
4e1219486d
9 files changed
+90
-19
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { ShellType } from "@blitzkit/protos";
|
||||
import { ShellKind } from "../types";
|
||||
|
||||
export const blitzShellKindToBlitzkit: Record<ShellKind, ShellType> = {
|
||||
ARMOR_PIERCING: ShellType.SHELL_TYPE_AP,
|
||||
ARMOR_PIERCING_CR: ShellType.SHELL_TYPE_APCR,
|
||||
HIGH_EXPLOSIVE: ShellType.SHELL_TYPE_HE,
|
||||
HOLLOW_CHARGE: ShellType.SHELL_TYPE_HEAT,
|
||||
};
|
||||
|
||||
// @ts-ignore
|
||||
export const blitzkitToBlitzShellKind: Record<ShellType, ShellKind> = {};
|
||||
|
||||
for (const [key, value] of Object.entries(blitzShellKindToBlitzkit)) {
|
||||
blitzkitToBlitzShellKind[value] = key as ShellKind;
|
||||
}
|
||||
Reference in new issue
Block a user