ID:1845102
 
(See the best response by Lummox JR.)
Code:
mob/proc/SharinganChakraSight()
set background=1
if(!src.shari)
return
usr.illuminating=1
usr.hassharinganilluminate += 1
for(var/mob/npcs/Bunshin/B in world)
if(src.shari)
var/image/I = image('Chakra Flow.dmi',B,"clone")
src << I
usr.illu = 1
for(var/mob/npcs/KBunshin/K in world)
if(src.shari)
var/image/I = image('Chakra Flow.dmi',K,"clone")
src << I
usr.illu = 1
for(var/mob/M in oview(10))
if(src.shari)
var/image/I = image('Chakra Flow.dmi',M,"normal")
src << I
M.invisibility = 0
if(M.Ingenjutsu)
var/image/I = image('Chakra Flow.dmi',M,"genjutsu")
src << I
sleep(40)
usr.illuminating=0


Problem description:

so i tried making this proc be called under my sharingan verb but it dosent call it for some reason?
Take out the line which says return

return stops the procedure and sends any information you specify back to whatever called the proc.
Best response
Unless this is only ever called by a verb, you have a usr abuse problem. Always avoid usr in procs.
In response to F0lak
thanks it fixed it
In response to Lummox JR
i see thanks for the tip