mob
Bump(atom/movable/A)
if(A:type==/mob/)
if(usr.chidori==1)
for(var/mob/M in world)
if(A==M)
if(M.rasengan==0 && M.chidori==0)
M.health-=usr.taijutsu + usr.chakrahands
damage(M,usr.taijutsu)
M.Death(M,usr)
if(usr.riding==1)
for(var/mob/M in world)
if(A==M)
M.health-=usr.taijutsu*2
damage(M,usr.taijutsu*2)
M.Death(M,usr)
if(usr.rasengan==1)
for(var/mob/M in world)
if(A==M)
if(M.chidori==0 && M.rasengan==0)
for(var/mob/N in oview(1,M))
if(N!=usr)
damage(N,usr.taijutsu)
N.health-=usr.taijutsu
Death(N,usr)
usr.overlays-='rasengan.dmi'
usr.rasengan=0
walk(usr,0)
usr.fatigue-=40
damage(M,usr.taijutsu*usr.chakrahands)
M.health-=usr.taijutsu*usr.chakrahands
walk(M,usr.dir)
M.Death(M,src)
Problem description:
When I hit a NPC with chidori nothing happens.
not sure what the problem is. most of that is code cleanup and switching usr to src <.<