The local service now settles vehicle repair after a battle and charges
hangar repairs at the price the client shows.
- New dataset vehicle-repair (wpcost.blk repairCost<Mode>,
repairCostPerMin<Mode>, modifications' repairCostCoef<Mode>) and
RepairRules, which follow the client's own formulas: full cost =
repairCost<Mode> x (1 + coefficients of the owned modifications)
(aces.exe 2.61.0.37 0x10517b0, 0x964900); current cost =
max(1, (1 - hp) x full cost) in the vehicle's lastGameMode
(getAircraftRepairCost 0x90e0b0).
- The price table now carries aircrafts/<vehicle>/repair/<mode>/cost,
where the client looks the full repair cost up; it read 0 before.
- After a battle each life costs the official lifetime share: destroyed
= repairCostPerMin x minutes started, at most the full cost; leaving
the vehicle (or the battle) early = full cost; surviving = nothing;
destroyed by an ally = nothing. The cost is written as hp,
lastGameMode and time on the hangar entry, so the client's own repair
cost matches it.
- Automatic repair (autoRepairAircrafts, on by default) pays for the
damaged vehicles the player can afford; premium accounts with
automatic repair and ammunition purchase get the expenses beyond the
battle's earnings back. The battle log gets aircrafts hp,
autoRepairWasOn, container.aircraftsRepaired and
wpExpensesCompensation; the debriefing gets the ExpensesCompensation
row.
- cln_prepare_aircraft, cln_repair_all and cln_repair_all_in_slots
carry no price; they now charge the current repair cost instead of
repairing for free.
Not yet verified in game.