obj
var/mob/owner
Jutsu
Suiton
icon='suiton.dmi'
WDragon
icon_state="dragon"
verb
W_Drag()
set name = "Suiton: Suiryudan no Jutsu"
set category = "Jutsus"
for(var/T in view())
if(istype(T,/turf/Outside/water)&&usr.target)
usr.WDrag()
Bump(A)
src.owner << "lol"
if(isturf(A))
var/turf/T = A
if(T.density&&T.cantakejutsu==10)
del src
if(T.density&&T.cantakejutsu<=0)
var/turf/Outside/dirt/D = new /turf/Outside/dirt(T.loc)
D.name="dirt"
del T
if(ismob(A))
var/mob/M = A
if(M.density)
M.Deathcheck()
mob/proc
WDrag()
var/obj/Jutsu/Suiton/WDragon/D = new()
D.loc=src.loc
D.owner=src
walk_towards(D,src.target)
Problem description:
When the jutsu hits the target it doesnt get deleted (the jutsu...). The bump() doesn't respond when the jutsu hits the target so there is the problem. I just dont know how to fix it!