Skillcards
Ninjutsu
icon = 'Hotkeys.dmi'
JutsuType = "Ninjutsu"
Chidori
icon_state = "Chidori"
name = "Chidori"
Click()
And here's the code for it the Chidori
<dm>mob
Attacks
verb
Chidori()
set name = "Chidori"
if(usr.chakra >= 150)
src << "You do not have enough Chakra, please rest"
return
if(usr.Sleep==1)
src << "You cannot disturb the gathering prcoess"
return
if(usr.Stuck==1)
src <<"You're frozen. You cannot use Chidori at this time!"
return
if(usr.ChidoriActivated==1)
return
if(!usr.Activate)
src.chakra -= 150
src.Activate = 1
flick('BaseW.dmi', src)
flick("Chidori",src)
src.Stuck = 1
sleep(7)
src.Stuck = 0
view() <<"<font size=1><font face=verdana><b><font color=White><font size = 1>[usr]<font color= white> says: Chidori!"
src.overlays += 'Chidori.dmi'
src.ChidoriActivated = 1
sleep(50)
if(usr.ChidoriActivated==1)
src<< "Your Chidori has run out of energy."
src.overlays -= 'Chidori.dmi'
src.Activate = 0
src.ChidoriActivated = 0
Now everytime I put under click Chidori() or mob/verb/Chidori()
I get undefined proc for the first one and undefined var for the second. I need to know how I can make this work.
The second one has a variable being used that you never defined.
Also I should note that the path for Chidori is /mob/NinJutsu/Chidori not /mob/SkillCards/NinJutsu/Chidori.