feat: start rewrite on onClick armor

This commit is contained in:
TrèsAbhi committed 2024-05-24 20:32:39 -05:00
1 parent 82933aaf1e
commit 542145467c
10 files changed
+476 -282

No files matched your search

@@ -0,0 +1,16 @@
import { ShellType } from '../blitzkit/tankDefinitions';
export function resolvePenetrationCoefficient(
calibratedShells: boolean,
type: ShellType,
) {
if (!calibratedShells) return 1;
return type === 'ap'
? 1.08
: type === 'ap_cr'
? 1.05
: type === 'hc'
? 1.13
: 1.08;
}