Fixed Provisions not affecting terrain resistances and added commented-out helper function to log provisions later if needed.

This commit is contained in:
Mark Greene committed 2025-12-30 15:43:16 +13:00
1 parent 45c7d74160
commit 5e4c5fc230
2 files changed
+14 -6

No files matched your search

@@ -236,12 +236,11 @@ export function tankCharacteristics(
[hasImprovedEnginePowerBoost, 0.01],
[true, crewSkills.virtuoso / 100],
) * coefficient([true, progressiveStat(driverMastery)]);
const resistanceHardCoefficient = coefficient([hasImprovedSuspension, -0.2]);
const resistanceMediumCoefficient = coefficient([
hasImprovedSuspension,
-0.15,
]);
const resistanceSoftCoefficient = coefficient([hasImprovedSuspension, -0.3]);
const resistanceHardCoefficient = coefficient([hasImprovedSuspension, -0.2]) * coefficient([true, degressiveStat(driverMastery)]);
const resistanceMediumCoefficient = coefficient([hasImprovedSuspension, -0.15]) * coefficient([true, degressiveStat(driverMastery)]);
const resistanceSoftCoefficient = coefficient([hasImprovedSuspension, -0.3]) * coefficient([true, degressiveStat(driverMastery)]);
const viewRangeCoefficient =
coefficient([
hasImprovedOptics,