feat: decimal shorthand

This commit is contained in:
TrèsAbhi committed 2024-04-05 09:20:07 -05:00
1 parent 4669fa6ec5
commit 7575f4581c
3 files changed
+46 -58

No files matched your search

+8 -2
View File
@@ -410,7 +410,10 @@ export function tankCharacteristics(
tank.camouflage.moving * gun.camouflageLoss + camouflageSumMoving;
const camouflageCaughtOnFire =
tank.camouflage.onFire * tank.camouflage.still + camouflageSumStill;
const tankSize = [size[0], size[2], size[1]];
const width = size[2];
const height = size[0];
const length = size[1];
const volume = width * height * length;
return {
dpm,
@@ -461,6 +464,9 @@ export function tankCharacteristics(
camouflageShootingStill,
camouflageShootingMoving,
camouflageCaughtOnFire,
tankSize,
width,
height,
length,
volume,
};
}