obj/addons/bomb
icon = 'explode.dmi'
icon_state="bomb"
name="Bomb Trap"
description="A nice handy trap. Attack based on hunter skill."
verb
Get()
set src in oview(1)
if(usr.bombskill==1)
view() << "[usr] disarms [src]"
src.name="Bomb Trap"
Move(usr)
else
usr.HP -= src.bomba
view() << "[src] deals [bomba] damage to [usr]"
src.icon_state="explode"
sleep(10)
usr:death_check()
del(src)
Drop()
if(usr.bombskill==0)
usr << "Maybe I should learn how to use these first."
return
else
src.bomba=usr.hunt
src.name="???"
src.loc = usr.loc
view() << "[usr] drops [src]."
Description()
usr << "[src.description]"
Problem description:
It is supposed to kill them but it kills them makes there health a negetive and bugs them! I am totally lost on this one... Please help!
Not to mention you probably shouldn't be using the ":" when you're calling it...