fix: stat display

This commit is contained in:
tresabhi committed 2024-11-09 19:20:41 -06:00
1 parent 3da154b75d
commit 3b933f2cbc
4 files changed
+9 -5

No files matched your search

@@ -63,6 +63,10 @@ export function TankCard({ tank, onSelect }: TankCardProps) {
return shell1 ? shell1.penetration.near.toFixed(0) : '--';
case 'fire.shellVelocity':
return shell0.velocity.toFixed(0);
case 'fire.shellCapacity':
return gun.gun_type!.value.base.shell_capacity.toFixed(0);
case 'fire.shellRange':
return shell0.range.toFixed(0);
case 'fire.gunDepression':
return (
gunModelDefinition.pitch.max +