Buffer with payment.

karazu

New member
Messages
1,115
Points
0
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!

 
Last edited by a moderator:
Code:
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;}
 
Last edited by a moderator:
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..

 
Last edited by a moderator:
Hmm?

Code:
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;}
 
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.

 
Code:
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;}
 
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

 
Back
Top