01.05.2016, 19:58
Quote:
Armour is just the same as health, just that you put it under "default" in the switch, as i explained in the last line.
|
Quote:
And infact i think he would be left with 0.99 health in your example, since GetPlayerHealth rounds the health, while SetPlayerHealth does not.
Atleast that's what it said on the wiki, but even if SetPlayerHealth rounds too, the player would need to receive 49.5 damage to round up to 50. But if you want to be that accurate you can, it wouldn't differ more than 0.5 at most though. |