Jhosef Posted June 5, 2012 Posted June 5, 2012 i want to request a script a YGGBERRY and YGGSEED have a Delay in WoE Only Quote
SlashGeeGee Posted June 5, 2012 Posted June 5, 2012 607,Yggdrasilberry,Yggdrasil Berry,0,5000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ if((agitcheck() == 1) && (YggBerryLastUsed > gettimetick(2))) { dispbottom "Yggdrasil Berry cannot be spammed during WoE! There is a delay of 13 seconds between use."; end; } set YggBerryLastUsed,gettimetick(2)+13; percentheal 100,100; },{},{} haven't tested it yet Quote
Euphy Posted June 5, 2012 Posted June 5, 2012 @SlashGeeGee: Almost! You didn't include a check for WOE SE, and the variable shouldn't be permanent. { if((agitcheck() || agitcheck2()) && (@y1 > gettimetick(2))) end; set @y1, gettimetick(2)+<seconds>; percentheal 100,100; },{},{} Quote
SlashGeeGee Posted June 6, 2012 Posted June 6, 2012 @SlashGeeGee: Almost! You didn't include a check for WOE SE, and the variable shouldn't be permanent. { if((agitcheck() || agitcheck2()) && (@y1 > gettimetick(2))) end; set @y1, gettimetick(2)+<seconds>; percentheal 100,100; },{},{} Thanks Euphy you always clean my mistakes in scripting Quote
Question
Jhosef
i want to request a script a YGGBERRY and YGGSEED have a Delay in WoE Only
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.