Theres a verb called Magic Ball, which releases an object... when it bump, it check if ismob and if it does, it lower hes hp and stuff... all works great, then I added this lines of code so ppl wont pk in towns
turf/safe
safeblank
icon = 'blank.dmi'
Entered()
if(!(usr.monster))
usr.safe = 1
Exited()
if(!(usr.monster))
usr.safe = 0
Since then, everytime the ball bump the icon instead the person, and tells me usr is nothing, so entered and exited is bugged... so I changed it to
turf/safe
safeblank
icon = 'blank.dmi'
Entered()
if(istype(usr,/mob))
if(!(usr.monster))
usr.safe = 1
Exited()
if(istype(usr,/mob))
if(!(usr.monster))
usr.safe = 0
Now it just does nothing... the bug, I think is that the ball bump the icon, and hes not user, mob so he just stop it... how can I change it, so the ball will bump gd user instead? cheers.