mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02: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;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from "./blitzShellKindToBlitzkit";
|
||||
export * from "./canSplash";
|
||||
export * from "./clans";
|
||||
export * from "./classes";
|
||||
|
||||
Reference in new issue
Block a user