JassMax Posted July 10, 2013 Posted July 10, 2013 Hi, i want refiner which can be refine by lotto ball 04 per lotto ball 04 = refine +1 100% (without break) until + 10 and if we want de refine item.. that can be done by lotto ball 031 x lotto ball 03 = de refine 1 item both functional should be in one npc like this 1 ) refiner 2) derefiner thank in advance... Bump~ Quote
KoolKat29 Posted July 10, 2013 Posted July 10, 2013 (edited) You can use Sir Emistry's Refine Function Script + from other working Derefiner script http://pastebin.com/raw.php?i=g8W9yhSs prontera,79,129,5 script test 757,{ mes "Refiner and Refine Remover"; next; switch (select("+1 Refiner","Refine Remover")) { case 1: mes "Which equipment you want to refine ?"; mes "make sure you have equipped the items and at least 1 Lotto Ball No.4."; next; callfunc( "RefineFunc",7364 ,1,63,0,10,1,0,100 ); end; case 2: setarray .@ItemID[0],7363,1; mes "Which equipment you want to reomove the refine?"; mes "make sure you have equipped the items and at least 1 Lotto Ball No.3."; next; if( countitem( .@ItemID[0] ) >= .@ItemID[1] ){ for( set .@i,1; .@i <= 10; set .@i,.@i + 1 ) set .@Menu$,.@Menu$ + (( getequipid(.@i) > 0 && getequiprefinerycnt(.@i) )? getitemname(getequipid(.@i)):"" )+":"; set .@i,select(.@Menu$); setarray .@GetData[0],getequipid(.@i),getequipcardid(.@i,0),getequipcardid(.@i,1),getequipcardid(.@i,2),getequipcardid(.@i,3); failedrefitem .@i; delitem .@ItemID[0],.@ItemID[1]; getitem2 .@GetData[0],1,1,0,0,.@GetData[1],.@GetData[2],.@GetData[3],.@GetData[4]; equip .@GetData[0]; mes "Done."; } end; } } Edited July 11, 2013 by Capuche code 1 Quote
JassMax Posted July 11, 2013 Author Posted July 11, 2013 (edited) You can use Sir Emistry's Refine Function Script + from other working Derefiner script http://pastebin.com/raw.php?i=g8W9yhSs prontera,79,129,5 script test 757,{ mes "Refiner and Refine Remover"; next; switch (select("+1 Refiner","Refine Remover")) { case 1: mes "Which equipment you want to refine ?"; mes "make sure you have equipped the items and at least 1 Lotto Ball No.4."; next; callfunc( "RefineFunc",7364 ,1,63,0,10,1,0,100 ); end; case 2: setarray .@ItemID[0],7363,1; mes "Which equipment you want to reomove the refine?"; mes "make sure you have equipped the items and at least 1 Lotto Ball No.3."; next; if( countitem( .@ItemID[0] ) >= .@ItemID[1] ){ for( set .@i,1; .@i <= 10; set .@i,.@i + 1 ) set .@Menu$,.@Menu$ + (( getequipid(.@i) > 0 && getequiprefinerycnt(.@i) )? getitemname(getequipid(.@i)):"" )+":"; set .@i,select(.@Menu$); setarray .@GetData[0],getequipid(.@i),getequipcardid(.@i,0),getequipcardid(.@i,1),getequipcardid(.@i,2),getequipcardid(.@i,3); failedrefitem .@i; delitem .@ItemID[0],.@ItemID[1]; getitem2 .@GetData[0],1,1,0,0,.@GetData[1],.@GetData[2],.@GetData[3],.@GetData[4]; equip .@GetData[0]; mes "Done."; } end; } } Thanks for reply KoolKat29 thanks for de-refine function working good.. actually im using same script...after make this topic same script from Emistry's Refine Function,,, I want to remove de refine effect which looks failed (@effect / @specialeffect)i want effect as success like when we refine any item its show success same for de refine.. is it possible ? Edited July 11, 2013 by JassMax Quote
Currently Posted December 29, 2013 Posted December 29, 2013 After I click "Refine". How to add a loop so as long as the player has the item, it will keep going to menu "Refine" and just spam enter until they reach 100 (or limit) or no more item. Quote
Question
JassMax
Hi,
i want refiner which can be refine by lotto ball 04
per lotto ball 04 = refine +1 100% (without break) until + 10
and if we want de refine item.. that can be done by lotto ball 03
1 x lotto ball 03 = de refine 1 item
both functional should be in one npc
like this
1 ) refiner
2) derefiner
thank in advance...
Bump~
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.