otland/forgottenserver — pull request #983 by EvilHero90 (2014-09-08 17:56:11+00:00)
Title: WIP changed int32_t to uint32_t for creatures

I've started working on converting health and healthmax to uint32_t

Tested on:
Players [x]
Monsters [x]
Summons []
Npcs []

I've applied a change so you cannot set with setMaxHealth(..) a lower value then 1 to avoid that the player ends up having the max range health number from uint32_t or if you set it to 0 that he dies constantly at login.

So far combat which gone under the zero point of health worked normaly, however I'm not 100% sure if it's bulletproof yet, as I couldn't test every possibility yet.

I'm not sure if I'm still missing something so this is addressed as WIP, feel free to to give suggestions or tell me if I might be missing something.