I don't understand how that happens... What code are you using? Because there shouldn't be much of a problem if you're doing something like this:
ATK = whatever HP = HP - ATK
Root / Programming Questions / [.]
ATK = whatever HP = HP - ATK
I don't understand how that happens... What code are you using? Because there shouldn't be much of a problem if you're doing something like this:It was so long ago I can't even remember how it was coded. I was thinking maybe I was making a simple mistake that might be common. I'm pretty sure it was similar to what you posted though. I eventually just made the max health 9 because of this problem but it's been bugging me ever since.ATK = whatever HP = HP - ATK
HP = ROUND(HP-ATK)This would round to the nearest whole number.