short and sweet deathcheck
mob
proc
deathcheck(mob/M)
if(hp<=0)//If the health is less than 0.
world<<"[M] has died at the hands of [src] "
M.loc = locate(50,50,1)
M.hp = M.mhp
else
piece of attack proc
src<<"You shot [M]!" //
M.hp -= rand(12,17)
src.deathcheck(M)
Problem description:.
well.... when attacking, the mob doesnt die. i have NO idea why. this DC works for other things. jst not this ;/
if(M.hp<=0)
otherwise it'll check to see if the src is dead.