I'm trying to calculate damage that will be divided between health and shield of the player. This damage always has to be a round integer, because the counters will mess up decimals.
However, if I use the round(damage/2) value, it still divides odd numbers into decimals.
Please help me on this one. Also, is there somewhere a help page that shows all different stuff of how to handle integers with all those abs() and rounds() and whatnot?
Thanks a lot