Open shalkya opened 6 years ago
So the ACUs are using a VeteranHealingMult
from the bp
The magic happens inside DoVeterancyHealing
function https://github.com/FAForever/fa/blob/develop/lua/sim/Unit.lua#L1417-L1423
Taking the UEF ACU, 12000 * 0.3 should be 3600
But the game gets a result 3600.0002441406
Using math.floor()
got the number to 3600
But then the fucntion AdjustHealth
got the result wrong anyway by one of as in the picture. So it must be something inside the engine?
@lL1l1 something you would me interested into looking at ?