karazu 33 Posted November 21, 2013 (edited) 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 2TCGThank you! Edited November 21, 2013 by karazu Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted November 21, 2013 (edited) 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 November 21, 2013 by Patskie Quote Share this post Link to post Share on other sites
0 karazu 33 Posted November 21, 2013 (edited) 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 November 21, 2013 by karazu Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted November 21, 2013 Level means base level? Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted November 21, 2013 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;} Quote Share this post Link to post Share on other sites
0 karazu 33 Posted November 21, 2013 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. Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted November 21, 2013 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;} Quote Share this post Link to post Share on other sites
0 karazu 33 Posted November 21, 2013 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 Quote Share this post Link to post Share on other sites
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
Edited by karazuThank you!
Share this post
Link to post
Share on other sites