Jump to content
  • 0

Question

5 answers to this question

Recommended Posts

Posted
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;
}

Posted

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.

Posted

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) ) 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...