mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: shell capacity
This commit is contained in:
1 parent
c4fa6cebfa
commit
3da154b75d
9 files changed
+52
-1
No files matched your search
@@ -506,6 +506,7 @@ export function tankCharacteristics(
|
||||
const shellRicochet = isExplosive(shell.type) ? undefined : shell.ricochet;
|
||||
const crewCount = tank.crew.length;
|
||||
const shellRange = shell.range;
|
||||
const shellCapacity = gun.gun_type!.value.base.shell_capacity;
|
||||
|
||||
return {
|
||||
crewCount,
|
||||
@@ -570,5 +571,6 @@ export function tankCharacteristics(
|
||||
length,
|
||||
volume,
|
||||
shellRange,
|
||||
shellCapacity,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user