PerformJutsu()
if(usr.SealsUsed>0)
if(usr.Element=="")
if(usr.Seal1=="Dog"&&usr.Seal2=="Boar")
TestJutsu(usr)
else
usr << "There are no jutsu for those hand seals."
ResetSeals(usr)
else
usr << "You haven't used any hand seals!"
Timer:
FadeTimerHand(mob/M)
while(M.HandFadeDown > 0)
M << "Hand Seal Timer : [M.HandFadeDown]"
sleep(10)
M.HandFadeDown -= 1
usr.CanSeal = 0
if(M.HandFadeDown == 0)
ResetSeals(M)
Example HandSeal:
Dog()
if(usr.HandSealTimer == 0)
usr.HandSealTimer = 2
usr.HandFadeDown = 10
switch(usr.SealsUsed)
if(0)
usr.Seal1 = "Dog"
if(1)
usr.Seal2 = "Dog"
if(2)
usr.Seal3 = "Dog"
if(3)
usr.Seal4 = "Dog"
if(4)
usr.Seal5 = "Dog"
if(5)
usr.Seal6 = "Dog"
if(6)
usr.Seal7 = "Dog"
if(7)
usr.Seal8 = "Dog"
if(8)
usr.Seal9 = "Dog"
if(9)
usr.Seal10 = "Dog"
if(10)
usr.Seal11 = "Dog"
if(11)
usr.Seal12 = "Dog"
if(12)
usr.Seal13 = "Dog"
if(13)
usr.Seal14 = "Dog"
if(14)
usr.Seal15 = "Dog"
if(15)
usr.Seal15 = "Dog"
if(16)
usr.Seal16 = "Dog"
if(17)
usr.Seal17 = "Dog"
if(18)
usr.Seal18 = "Dog"
if(19)
usr.Seal19 = "Dog"
if(20)
usr.Seal20 = "Dog"
usr.SealsUsed++
if(usr.CanSeal==1)
FadeTimerHand(usr)
Seals Resettter:
ResetSeals(mob/M)
M.Seal1 = ""
M.Seal2 = ""
M.Seal3 = ""
M.Seal4 = ""
M.Seal5 = ""
M.Seal6 = ""
M.Seal7 = ""
M.Seal8 = ""
M.Seal9 = ""
M.Seal10 = ""
M.Seal11 = ""
M.Seal12 = ""
M.Seal13 = ""
M.Seal14 = ""
M.Seal15 = ""
M.Seal16 = ""
M.Seal17 = ""
M.Seal18 = ""
M.Seal19 = ""
M.Seal20 = ""
M.SealsUsed=0
M.CanSeal = 1
M.HandSealTimer = 0
M.HandFadeDown = 0
Problem description:
For whatever reason, I have that set to Spacebar, the Proc itself works fine. But, if you use the proc while HandSeals are already active(Kinda the correct time), the next time you use a Seal the Timer will not appear.