mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: light tank on move camo now same as still
This commit is contained in:
1 parent
17439bf559
commit
3c4743731b
1 file changed
+9
-2
@@ -435,11 +435,18 @@ export function tankCharacteristics(
|
|||||||
const fireChance = engine.fireChance * fireChanceCoefficient;
|
const fireChance = engine.fireChance * fireChanceCoefficient;
|
||||||
const viewRange = turret.viewRange * viewRangeCoefficient;
|
const viewRange = turret.viewRange * viewRangeCoefficient;
|
||||||
const camouflageStill = tank.camouflage.still * camouflageCoefficientStill;
|
const camouflageStill = tank.camouflage.still * camouflageCoefficientStill;
|
||||||
const camouflageMoving = tank.camouflage.moving * camouflageCoefficientMoving;
|
const camouflageMoving =
|
||||||
|
(tank.class === 'lightTank'
|
||||||
|
? tank.camouflage.still
|
||||||
|
: tank.camouflage.moving) * camouflageCoefficientMoving;
|
||||||
const camouflageShootingStill =
|
const camouflageShootingStill =
|
||||||
tank.camouflage.still * gun.camouflageLoss * camouflageCoefficientStill;
|
tank.camouflage.still * gun.camouflageLoss * camouflageCoefficientStill;
|
||||||
const camouflageShootingMoving =
|
const camouflageShootingMoving =
|
||||||
tank.camouflage.moving * gun.camouflageLoss * camouflageCoefficientMoving;
|
(tank.class === 'lightTank'
|
||||||
|
? tank.camouflage.still
|
||||||
|
: tank.camouflage.moving) *
|
||||||
|
gun.camouflageLoss *
|
||||||
|
camouflageCoefficientMoving;
|
||||||
const camouflageCaughtOnFire =
|
const camouflageCaughtOnFire =
|
||||||
tank.camouflage.onFire * tank.camouflage.still * camouflageCoefficientStill;
|
tank.camouflage.onFire * tank.camouflage.still * camouflageCoefficientStill;
|
||||||
const width = size[2];
|
const width = size[2];
|
||||||
|
|||||||
Reference in new issue
Block a user