mob/var
usandocn=0
loopcn=0
mob/verb/chidorinagashi()
set category = "Jutsus"
set name = "Chidori Nagashi"
if(usr.usandocn)
usr<<"Você deve aguardar para utilizar novamente esta habilidade!"
return
else
usr.frozen=1
usr.usandocn=1
usr.loopcn=1
var/turf/T
for(T in oview(2,usr))
var/obj/jutsus/chidorinagashi/N=new(T)
spawn(100) del N
nagashi()
spawn(70)
usr.loopcn=0
usr.usandocn=0
usr.frozen=0
obj/jutsus
chidorinagashi
icon='chidorinagashi.dmi'
mob/proc
nagashi()
for(var/mob/M in oview(2,usr))
if(!usr.loopcn)
return
else
var/dano=usr.Ninjutsu*4
view()<<"[M.name] levou dano de [dano] do chidori nagashi de [usr.name]!"
M.HP-=dano
M.Morte(M,usr)
spawn(5) M.nagashi()
Problem description:When i use the skill, if any mob is on usr oview(2) it works fine, but if it leaves the oview and come back the skill dont work anymore. what should i do??