mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: start rewrite on onClick armor
This commit is contained in:
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;
|
||||
}
|
||||
Reference in new issue
Block a user