mob
verb
Attacking()
set category="Fight"
for(var/mob/E in get_step(usr,usr.dir))
if(E.NPC==0)
E.HP-=usr.Str
view()<<"[usr] attacks [E] ([usr.Str])"
if(E.HP<=1)
world<<"<font color=red>[usr] Slaughtered [E]!"
E.HP=E.MHP
E.MP=E.MMP
E.gold+=E.gold
E.gold=0
usr.Exp+=E.Expg
E.PK=0
LvlCheck(usr)
UserDcheck(E)
E<<"You Have Died!"
E.loc = locate(6,5,1)
E.gold -= E.gold
E.HP=E.MHP
E.MP=E.MMP
sleep(2)
E.PK=0
E<<"<Font color=gray>-=Game Over=-"
sleep(3)
E<<"<Font color=blue>-=30 seconds=-"
sleep(80)
E<<"<Font color=yellow>-=20 seconds=-"
sleep(80)
E.loc = locate(12,48,1)
E.icon_state="ghost"
if(E.NPC==1)
usr<<"You can't attack A NPC!"
return
My HP goes down to -1 and past and i dont die, any help?
<Edit> Why did you start a new one any way? Oh and I posted some things you needed to fix up on [link] Which I know you read because you replied, then deleted that and edited your old one...nice. And from glancing at it very quickly you it doesnt seem you even bothered.