Jump to content
  • 0

Buff Requests


travisz

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  04/12/12
  • Last Seen:  

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.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

I created the script for you, however It only has the heal skill and effect because I am a noob, Sorry. (You will have to add it in.).

 

EDIT :: It also seems the format is not perfect when putting it on here...  Just copy paste it and it will return to normal.

Then again it may be my internet explorer.....

 

/*
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 Metamorphic
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  04/12/12
  • Last Seen:  

Thanks for the scripts.

The script works very well. Thanks again

Link to comment
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.   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.

×
×
  • Create New...