mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: decimal shorthand
This commit is contained in:
1 parent
4669fa6ec5
commit
7575f4581c
3 files changed
+46
-58
No files matched your search
@@ -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,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user