Jump to content
  • 0
Sign in to follow this  
Snaehild

Custom Buffer Request

Question

Hi, does anyone have something like this? Saw this one on rathena but doesn't look like it's still working. Doesn't buff at all and makes character stuck at some point.

 

Can anyone help me about these scripts?
 
lv 50 or lower to buff  heal ab kyrie gloria magnificat.
 
lv 51-99 to buff heal ab.
 
Level 90 or higher to pay 1500z.
 
You can pay a one-hour 20000z
 
A delay in the buff for 3 seconds.

 

/*lv 50 or lower to buff  heal ab kyrie gloria magnificat.lv 51-99 to buff heal ab.Level 90 or higher to pay 1500z.You can pay a one-hour 20000z A delay in the buff for 3 seconds.*/prontera,150,150,4	script	load	112,{	if ( @timer >= gettimetick(2) )		{			dispbottom "You have to wait for : " + ( @timer - gettimetick(2) ) + " Seconds before another use.";			end;		}			if ( BaseLevel <= 50 )	{		///====================================================================		///ADD BUFFS AND EFFECTS HERE FOR 50 AND UNDER <-------------------		specialeffect2 313;	percentheal 100,100; //HEAL	}	else	{		if ( BaseLevel >= 90 )		{			if ( @allowhealtimer < gettimetick(2) )			{				mes "[Buffer]";				mes "The fee is 1,500z to use buffs at your level.";				mes "";				mes "You can also pay a fee for one hour of use at 20,000z";				close2;				switch(select("Pay the one time fee:Pay the Hour fee:Don't Pay!"))				{					case 1:						if (Zeny < 1500)						{								dispbottom "You do not have enough zeny!";							close;							}						else						{							set Zeny, Zeny - 1500;							break;						}											case 2:						if (Zeny < 20000 )						{								dispbottom "You do not have enough zeny!";							close;							}						else						{							set Zeny, Zeny - 20000;							set @allowhealtimer, gettimetick(2) + 3600;							break;						}					case 3:						close;										}			}			if ( @allowhealtimer )			{				dispbottom "You have : " + ( ( @allowhealtimer - gettimetick(2) ) / 60 ) + " Minutes of Buffs Remaining.";			}		}				///====================================================================		///ADD BUFFS AND EFFECTS HERE FOR 50 AND OVER <-------------------		specialeffect2 313;	percentheal 100,100; //HEAL	}		if ( @timer >= gettimetick(2) )		{		end;	}	else 	{		dispbottom "You have been blessed!!";		set @timer, gettimetick(2) + .healtimer;		close;	}	OnInit:	set .healtimer, 3; // 3 SECOND DELAY.}
Edited by Snaehild

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
 
On line 17 you have an if function and a starting squiggly but it didn't contain an "else" after that squiggly ends.
 
 
Also when looking at it... the switch on line 26 case 1, they have more than 1,500 zeny, and it just deletes the zeny and nothing else... and on line 57.. you have an if function, with nothing there... if allowhealtimer...what? 

Share this post


Link to post
Share on other sites

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.