mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: penetration
This commit is contained in:
1 parent
655b87d876
commit
146e68fc53
1 file changed
+7
-5
@@ -176,15 +176,17 @@ export function tankCharacteristics(
|
|||||||
({ distance }) => distance >= assaultDistance,
|
({ distance }) => distance >= assaultDistance,
|
||||||
)?.factor ?? 0)
|
)?.factor ?? 0)
|
||||||
: 1;
|
: 1;
|
||||||
const moduleDamageCoefficient = coefficient([hasTungsten, 0.15]);
|
const moduleDamageCoefficient =
|
||||||
|
coefficient([hasTungsten, 0.15]) * equalizer.damage;
|
||||||
const reloadCoefficient =
|
const reloadCoefficient =
|
||||||
(coefficient([hasGunRammer, -0.05]) *
|
(coefficient([hasGunRammer, -0.05]) *
|
||||||
coefficient([true, degressiveStat(loaderMastery)])) /
|
coefficient([true, degressiveStat(loaderMastery)])) /
|
||||||
coefficient([hasAdrenaline && gun.gun_type!.$case === "regular", 0.17]);
|
coefficient([hasAdrenaline && gun.gun_type!.$case === "regular", 0.17]);
|
||||||
const penetrationCoefficient = coefficient([
|
const penetrationCoefficient =
|
||||||
hasCalibratedShells,
|
coefficient([
|
||||||
resolvePenetrationCoefficient(true, equalize, shell.type, equalizer) - 1,
|
hasCalibratedShells,
|
||||||
]);
|
resolvePenetrationCoefficient(true, equalize, shell.type, equalizer) - 1,
|
||||||
|
]) * equalizer.penetration;
|
||||||
const healthCoefficient =
|
const healthCoefficient =
|
||||||
coefficient(
|
coefficient(
|
||||||
[hasSandbagArmor, 0.03],
|
[hasSandbagArmor, 0.03],
|
||||||
|
|||||||
Reference in new issue
Block a user