mob
proc
DeathCheck() //check to see if an attack is deadly
if (src.Health <= 0) //if the defender's HP is low enough...
world << "[src] dies!" //give the death messaging
usr.exp += 10
usr.Levelup()
src.loc = locate(1,1,1)
src.Health += MaxHealth
Problem description:when your Health reaches 0 it keeps declining as you get damaged, the DeathCheck isnt working.
Try this