if(2)
usr<<"[usr]: Raton-Sword Assasination Technique"
usr.stunned=0
usr.overlays+='ratonswordoverlay.dmi'
sleep(15)
var/obj/trailmaker/o=new/obj/trailmaker/Raton_Sword()
var/mob/human/result=Trail_Straight_Projectile(usr.x,usr.y,usr.z,usr.dir,o,14,usr)
if(result)
spawn(50)
del(o)
result.Dec_Hp(rand(1500,2000),usr)
spawn()Blood(result.x,result.y,result.z)
result.stunned=5
spawn(50)
usr.stunned=0
usr.overlays-='ratonswordoverlay.dmi'
else
usr.stunned=0
usr.overlays-='ratonswordoverlay.dmi'
view(1)<<"[] was hit for [stunned]."
THat is just one part here is the other
gui/skillcards/raton_sword
name="Raton Sword Assasination Technique"
icon='gui.dmi'
icon_state="raton_sword_form_assasination_technique"
chakracost=15
cooldown=10
sindex=2
Problem description:
ok so i am working with a code that was a source made by masterdan. And i have encvountered a very comfusing situatuon. The source code game with attacks and stuff but only the attacks make damage and the jutsus dont. so how do i mak it so thats when i use a jutsu there will be damage to the npc?? i am really stuck here.