mob/proc
DeathCheck(mob/M)
if(src.HP<=0)
if(src.client)
M<<output("<font color=red><I>You have killed [src.fname] [src.lname]","chat")
src<<output("<font color=red><I>You have been killed by [M.fname] [M.lname]","chat")
src.loc=locate(1,1,1)
src.HP=src.MaxHP
src.MP=src.MaxMP
else
M<<output("<font color=red><I>You have killed the [src.fname] [src.lname]!","chat")
src.loc=locate(58,143,8)
src.HP=src.MaxHP
src.MP=src.MaxMP
sleep(300)
src.loc=initial(loc)
Problem description:
No message is sent to M,this has been troubling me for weeks,but i can't find out why.
Add that world output line at the beginning and see what it ouputs, then paste that here so we can troubleshoot. It could be that you're not really passing a mob.