ID:173515
 
obj
kamehameha
verb
Kamehameha()
set name = "Kamehameha"
set category = "Fighting"
var/obj/H = new /obj/kame
H.dir = usr.dir
H.loc = usr.loc
while(H)
step(H,H.dir)
var/turf/T = H.loc
if(T.density == 1)
del(H)
break
for(var/mob/M as mob in T)
if(M == usr)
continue
usr<<"You shot [M]!"
del(H)

obj
kame
icon = 'kame.dmi'
icon_state = "beam"

but you don't see the icon

can someone help
Probably what happens is that it executes so fast that the client doesn't get a chance to show anything.
In response to Jon88
obj
kamehameha
verb
Kamehameha()
set name = "Kamehameha"
set category = "Fighting"
var/obj/H = new /obj/kame
H.dir = usr.dir
H.loc = usr.loc
while(H)
step(H,H.dir)
var/turf/T = H.loc
if(T.density == 1)
sleep(15)
del(H)
break
for(var/mob/M as mob in T)
if(M == usr)
continue
usr<<"You shot [M]!"
del(H)

sould that work?