Closed JereKuusela closed 4 years ago
https://github.com/Myrten/CK3.Utils/blob/079017970690bc94c0306b3f0e4c880dbf4f6ac7/CK3.Utils.BattleSimulator/Simulation/Army.cs#L64
The game seems to use 3 decimals when storing the strength value. If I'm reading above line correctly your code rounds it down to the nearest integer after every round.
https://github.com/Myrten/CK3.Utils/blob/079017970690bc94c0306b3f0e4c880dbf4f6ac7/CK3.Utils.BattleSimulator/Simulation/Army.cs#L64
The game seems to use 3 decimals when storing the strength value. If I'm reading above line correctly your code rounds it down to the nearest integer after every round.