Jump to content
  • 0
Sign in to follow this  
karazu

Buffer with payment.

Question

Hello can someone give me a buffer with pay? like 1 TCG to avail the service? 

 

 

IF possible can u add a case like  if level 1 buff he will only pay 1 TCG but if level 2 buff he will pay 2TCG


Thank you!

Edited by karazu

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
prontera,150,150,0	script	Sample	123,{	if (!countitem(7227)) end;	specialeffect2 313;	percentheal 100,100;	specialeffect2 37;	 sc_start SC_INC_AGI,600000,10;	specialeffect2 42;	 sc_start SC_BLESSING,600000,10;    delitem 7227, 1;	end;}
Edited by Patskie

Share this post


Link to post
Share on other sites
  • 0

 

prontera,150,150,0	script	Sample	123,{	if (!countitem(7227)) end;	specialeffect2 313;	percentheal 100,100;	specialeffect2 37;	 sc_start SC_INC_AGI,600000,10;	specialeffect2 42;	 sc_start SC_BLESSING,600000,10;	end;}

How about if you put a case?

 

 

Like level 2 buffs has additional buff

level 3 has more buff etc..

 

 

Edited by karazu

Share this post


Link to post
Share on other sites
  • 0

Hmm?

prontera,150,150,0	script	Sample	-1,{	if (!countitem(7227)) end;	if ( BaseLevel == 2 ) {		specialeffect2 313;		percentheal 100,100;	} else if ( BaseLevel == 3 ) {		specialeffect2 313;		percentheal 100,100;		specialeffect2 37;		 sc_start SC_INC_AGI,600000,10;	} else if ( BaseLevel == 4 ) {		specialeffect2 313;		percentheal 100,100;		specialeffect2 37;		 sc_start SC_INC_AGI,600000,10;		specialeffect2 42;		 sc_start SC_BLESSING,600000,10;	}	delitem 7227, 1;	end;}

Share this post


Link to post
Share on other sites
  • 0

 

Hmm?

prontera,150,150,0	script	Sample	-1,{	if (!countitem(7227)) end;	if ( BaseLevel == 2 ) {		specialeffect2 313;		percentheal 100,100;	} else if ( BaseLevel == 3 ) {		specialeffect2 313;		percentheal 100,100;		specialeffect2 37;		 sc_start SC_INC_AGI,600000,10;	} else if ( BaseLevel == 4 ) {		specialeffect2 313;		percentheal 100,100;		specialeffect2 37;		 sc_start SC_INC_AGI,600000,10;		specialeffect2 42;		 sc_start SC_BLESSING,600000,10;	}	delitem 7227, 1;	end;}

No what i mean is a menu like if you talk to the NPC

 

HE will ask you what level of buff you u want.>

 

 

Level 1 Bless and Agi only

Level 2 With +10 foods

Level 3 with +20 foods

 

Ofcourse in every level the NPC will ask you more TCG like at level 1 1 TCG level 2 TCG and soon.

 

 

 

 

Share this post


Link to post
Share on other sites
  • 0
prontera,150,150,0	script	Sample	123,{	specialeffect2 313;    percentheal 100,100;	switch(select(""+(countitem(7227)>=1?"Level 1":"")+":"+(countitem(7227)>=2?"Level 2":"")+":"+(countitem(7227)>=3?"Level 3":""))) {		case 1: specialeffect2 37;				 sc_start SC_INC_AGI,600000,10;				specialeffect2 42;				 sc_start SC_BLESSING,600000,10;				delitem 7227, 1;				close;		case 2: for (.@i = 204; .@i < 209; .@i++ ) {					sc_start .@i,600000,10;				}				delitem 7227, 2;				close;		case 3: for (.@i = 204; .@i < 209; .@i++ ) {					sc_start .@i,600000,20;				}				delitem 7227, 3;				close;			}	end;}

Share this post


Link to post
Share on other sites
  • 0

 

prontera,150,150,0	script	Sample	123,{	specialeffect2 313;    percentheal 100,100;	switch(select(""+(countitem(7227)>=1?"Level 1":"")+":"+(countitem(7227)>=2?"Level 2":"")+":"+(countitem(7227)>=3?"Level 3":""))) {		case 1: specialeffect2 37;				 sc_start SC_INC_AGI,600000,10;				specialeffect2 42;				 sc_start SC_BLESSING,600000,10;				delitem 7227, 1;				close;		case 2: for (.@i = 204; .@i < 209; .@i++ ) {					sc_start .@i,600000,10;				}				delitem 7227, 2;				close;		case 3: for (.@i = 204; .@i < 209; .@i++ ) {					sc_start .@i,600000,20;				}				delitem 7227, 3;				close;			}	end;}

Wow, I will try this  out later.

 

 

thank you very much

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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