mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: additive camouflage values (Synx, you better be right!)
This commit is contained in:
1 parent
9d346082ea
commit
94db2c9159
1 file changed
+27
-11
@@ -257,7 +257,18 @@ export function tankCharacteristics(
|
|||||||
[hasGearOil, 2],
|
[hasGearOil, 2],
|
||||||
[hasImprovedGearOil, 4],
|
[hasImprovedGearOil, 4],
|
||||||
);
|
);
|
||||||
const camouflageCoefficientMoving = coefficient(
|
const camouflageCoefficientMoving = sum(
|
||||||
|
[
|
||||||
|
true,
|
||||||
|
coefficient([
|
||||||
|
camouflage,
|
||||||
|
tank.class === 'AT-SPG'
|
||||||
|
? 0.04
|
||||||
|
: tank.class === 'heavyTank'
|
||||||
|
? 0.03
|
||||||
|
: 0.02,
|
||||||
|
]),
|
||||||
|
],
|
||||||
[
|
[
|
||||||
hasCamouflageNet,
|
hasCamouflageNet,
|
||||||
tank.class === 'heavyTank'
|
tank.class === 'heavyTank'
|
||||||
@@ -268,12 +279,22 @@ export function tankCharacteristics(
|
|||||||
? 0.07
|
? 0.07
|
||||||
: 0.1,
|
: 0.1,
|
||||||
],
|
],
|
||||||
[
|
|
||||||
camouflage,
|
|
||||||
tank.class === 'AT-SPG' ? 0.04 : tank.class === 'heavyTank' ? 0.03 : 0.02,
|
|
||||||
],
|
|
||||||
);
|
);
|
||||||
const camouflageCoefficientStill = coefficient(
|
const camouflageCoefficientStill = sum(
|
||||||
|
[
|
||||||
|
true,
|
||||||
|
coefficient(
|
||||||
|
[
|
||||||
|
camouflage,
|
||||||
|
tank.class === 'AT-SPG'
|
||||||
|
? 0.04
|
||||||
|
: tank.class === 'heavyTank'
|
||||||
|
? 0.03
|
||||||
|
: 0.02,
|
||||||
|
],
|
||||||
|
[true, crewSkills.camouflage * (3 / 100)],
|
||||||
|
),
|
||||||
|
],
|
||||||
[
|
[
|
||||||
hasCamouflageNet,
|
hasCamouflageNet,
|
||||||
tank.class === 'heavyTank'
|
tank.class === 'heavyTank'
|
||||||
@@ -284,11 +305,6 @@ export function tankCharacteristics(
|
|||||||
? 0.14
|
? 0.14
|
||||||
: 0.2,
|
: 0.2,
|
||||||
],
|
],
|
||||||
[
|
|
||||||
camouflage,
|
|
||||||
tank.class === 'AT-SPG' ? 0.04 : tank.class === 'heavyTank' ? 0.03 : 0.02,
|
|
||||||
],
|
|
||||||
[true, crewSkills.camouflage * (3 / 100)],
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const size = normalizeBoundingBox(
|
const size = normalizeBoundingBox(
|
||||||
|
|||||||
Reference in new issue
Block a user