Jhosef Posted May 21, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Share Posted May 21, 2012 (edited) i request a buffer npc with 10 sec delay... Edited May 21, 2012 by Jhosef Quote Link to comment Share on other sites More sharing options...
XenaNyx Posted May 21, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 131 Reputation: 8 Joined: 02/08/12 Last Seen: May 30, 2021 Share Posted May 21, 2012 prontera,100,100,4 script DelayBuff 100,{ if ( Delay_Heal > gettimetick(2) ) goto deley; percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,1800000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,1800000,10; percentheal 100,100; set Delay_Heal,gettimetick(2)+10; end; deley: dispbottom "Wait 10 mins"; end; } Quote Link to comment Share on other sites More sharing options...
Jhosef Posted May 21, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Author Share Posted May 21, 2012 10 sec not 10min Quote Link to comment Share on other sites More sharing options...
Docubo Posted May 21, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 117 Reputation: 8 Joined: 05/07/12 Last Seen: May 12, 2024 Share Posted May 21, 2012 change the dispottom into this if you wanna see how much seconds left: dispbottom "Sorry you have to wait for " + ((Delay_Heal - gettimetick(2)) % 10) + " seconds"; it was already set to 10 seconds.. just the message was wrong. Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 22, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted May 22, 2012 ur calculation.....wrong ? ((Delay_Heal - gettimetick(2)) % 10) this will lead to a wrong message if the users have set to a delay that is higher than 10.. because the value will shown are only in the range of 0 ~ 9 use this...it is more than enough ~ xD ( Delay_Heal - gettimetick(2) ) Quote Link to comment Share on other sites More sharing options...
XenaNyx Posted May 24, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 131 Reputation: 8 Joined: 02/08/12 Last Seen: May 30, 2021 Share Posted May 24, 2012 ahh, sorry i don't use english in my npc , i forgot a little bit Quote Link to comment Share on other sites More sharing options...
Question
Jhosef
i request a buffer npc with 10 sec delay...
Edited by JhosefLink to comment
Share on other sites
5 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.