fa icon indicating copy to clipboard operation
fa copied to clipboard

3rd vet level of aeon/uef/sera acu showing un-rounded number

Open shalkya opened this issue 7 years ago • 2 comments

image image image

shalkya avatar Jun 27 '18 23:06 shalkya

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?

speed2CZ avatar Jul 14 '19 12:07 speed2CZ

@lL1l1 something you would me interested into looking at ?

MrRowey avatar May 30 '24 08:05 MrRowey