obj
Gokakyuu
icon = '(Katon) Gokakyu No Jutsu.dmi'
pixel_x = -32
pixel_y = -32
density = 0
Bump(A)
if(istype(A,/turf/))
var/turf/T = A
if(T.density)
del(src)
if(istype(A,/obj/))
del(src)
Move()
for(var/mob/M in src.loc)
if(M.counter)
del(src)
return
if(M.PK==0)
return
var/damage = round(src.nin*3)
if(damage >= 1)
M.health -= damage
view(M) << "[M] was hit by Gokakyu No Jutsu for [damage] damage!!"
var/mob/O = src.Gowner
M.Death(O)
..()
Problem description:
Just having difficulties making it pierce through a mob. On this code I kinda hit myself first before it goes toward the intended direction.
Hence, if anyone is familiar with piercing beams teach me pls :(