ID:262950
 
Code:
mob
verb
Flagrate()
world<<"\green [usr] cast Flagrate"
var/obj/Flame/O = new/obj/Flame(src.loc)
walk(O,usr.dir)
sleep(3)




obj/Flame
icon = 'spells.dmi'
icon_state = "1"
density = 1
Bump(mob/M)
var/dmg = round(usr.skill*usr.mana/2)
if(istype(M,/mob/))
M.health -= dmg
view()<<"\red [usr] dealt [dmg] Damage to [M]"
del(src)


Problem description:for some reason when ever this bumps any thign it wont delete can you plese help

Try del(/obj/Flame).
In response to KirbyRules
KirbyRules wrote:
Try del(/obj/Flame).

Wrong, that'll probably just lead to compiler errors. You must specify an instance to delete.
In response to Audeuro
At least I tryed to help....Oh well... XP