ID:263761
 
obj/Jutsu/Fire
icon='jutsu.dmi'
icon_state="Fire"
name = "Fire"
mouse_over_pointer = 'SP.dmi'
var/strength
var/Gowner
density=1
Bump(A)
view()<<"BUMP"
var/mob/O = src.Gowner
if(ismob(A))
var/mob/M = A
var/OOPS=(rand(1,5))
var/damage = (round(src.strength)-OOPS)
if(damage >= 1)
M.Health -= damage
view(M) << "[M] was hit by the [src] for [damage] damage!!"
M.Death(O)
del(src)
if(istype(A,/turf/))
var/turf/T = A
if(T.density)
del(src)
if(istype(A,/obj/))
var/obj/OO = A
if(OO.name=="Oil")
view()<<"DEBUG MARK ONE"
if(OO.icon_state=="oil")
OO.icon_state="fire"
spawn(5)
del(OO)


The Bump proc is being called and the oil is turning to fire, only issue is the oil does not delete after being fire :/ but the fire ball does. Thanks for help