Hi,
we have found a problem in the vital system than can cause
the hitpoints of a mobile to drop to 0, without causing the
mobiles death.
If the current regen rate for the mobiles hitpoints is set to a
slightly negative value, like -800 (e.g. the character is suffering
from a weak poison), then the hitpoints (as shown in the status
window) will drop from 1 to 0, but the character will still be
alive.
We think we have figured out the cause of this problem. We think
the core currently only kills a mobile when GetVital(who, VITALID_LIFE)
drops to 0, although for other purposes, like the status bar/window, the
hitpoints will already be handled as 0 when GetVital(who, VITALID_LIFE)
drops to 99 or less (in other words, it's rounded down).
As a solution, we suggest the core should already kill a mobile when
GetVital(who, VITALID_LIFE) drops below 100.
Thanks,
Xandros