mob/proc
Attack(mob/monster/M,mob/Player/P)
if(M.hp <= 0)
return
else
sleep(10)
view() << "[M] [pick(M.attackdesc)] [P] and does [M.atk - P.def] damage!"
P.hp -= M.atk
P.hp += P.def
M.Death_Check(P)
Problem description:
For some reason when the monster gets the hero down to 0 and lower nothing happens! This is the attack code for the monster and it works well, so it has something to do with calling the proc. ;_;