Heres the coding for it
obj
shadowspar
verb
Shadow_Spar()
set name="Shadow Spar"
set category="Fighting"
if(usr.maxstamina > 1)
if(usr.flight == 1)
usr << "Not while flying."
return
if (usr.meditate==1)
usr<<"Not while meditating"
return
flick("sparfury", usr)
usr.move = 1
usr.icon_state = ""
usr.exp += 1
usr.maxstamina -= 2
usr.meditate = 0
usr.rest = 0
usr.levelcheck()
usr.FlightLearn()
usr.KiTechLearn()
usr.AuraMake()
usr.AuraTechLearn()
usr.FocusLearn()
else
usr << "You can't Shadow Spar. You are too tired."
How can i fix this?