mob/Jutsu
verb
Kage_Shuriken_No_Jutsu(mob/M in oview(10))
set category = "Taijutsu"
if(usr.attack==1)
return 0
if(/obj/item/Shuriken in usr.contents)
if(/obj/item/FuumaShuriken in usr.contents)
var/a=input("Throw...") in list("Shuriken","Fuuma Shuriken")
if(a=="Shuriken")
usr.attack=1
s_missile(new/obj/projectile/Shuriken,usr,M,1,1,usr.name)
sleep(2)
s_missile(new/obj/projectile/KageShuriken,usr,M,1,1,usr.name)
sleep(1)
usr.attack=0
del(/obj/item/Shuriken in usr.contents)
var/exp1=rand(1,100)
if(exp1==1)
usr << "Taijutsu skill increased."
usr.Taijutsu += 1
if(usr.kageshuriken<100)
usr.kageshuriken+=1
else
usr.attack=1
s_missile(new/obj/projectile/FuumaShuriken,usr,M,3,1,usr.name)
sleep(2)
s_missile(new/obj/projectile/KageFuumaShuriken,usr,M,3,1,usr.name)
sleep(20)
usr.attack=0
del(/obj/item/FuumaShuriken in usr.contents)
var/exp1=rand(1,100)
if(exp1==1)
usr << "Taijutsu skill increased."
usr.Taijutsu += 1
if(usr.kageshuriken<100)
usr.kageshuriken+=1
else
usr.attack=1
s_missile(new/obj/projectile/Shuriken,usr,M,1,1,usr.name)
sleep(2)
s_missile(new/obj/projectile/KageShuriken,usr,M,1,1,usr.name)
sleep(1)
usr.attack=0
del(/obj/item/Shuriken in usr.contents)
var/exp1=rand(1,100)
if(exp1==1)
usr << "Taijutsu skill increased."
usr.Taijutsu += 1
if(usr.kageshuriken<100)
usr.kageshuriken+=1
else
if(/obj/item/FuumaShuriken in usr.contents)
usr.attack=1
s_missile(new/obj/projectile/FuumaShuriken,usr,M,3,1,usr.name)
sleep(2)
s_missile(new/obj/projectile/KageFuumaShuriken,usr,M,3,1,usr.name)
sleep(20)
usr.attack=0
del(/obj/item/FuumaShuriken in usr.contents)
var/exp1=rand(1,100)
if(exp1==1)
usr << "Taijutsu skill increased."
usr.Taijutsu += 1
if(usr.kageshuriken<100)
usr.kageshuriken+=1
else
usr << "You need a shuriken or fuuma shuriken in your pack to perform Kage Shuriken no Jutsu."
Thanks in advance.