Renz Posted June 13, 2012 Posted June 13, 2012 may i have 1 click refiner npc like this +10 hat +10 middle +10 lower +10 armor +10 footgear +10 garment +10 shield +10 weapon +10 accesorry if player click the npc he will choose equipment for refine thx Quote
Euphy Posted June 13, 2012 Posted June 13, 2012 <header> { setarray .@pos$[1],"Upper Headgear","Armor","Left hand","Right hand","Garment","Footgear","Left Accessory","Right Accessory","Mid Headgear","Lower Headgear"; set .@menu$,""; for (set .@i,1; .@i <= 10; set .@i,.@i+1) { if (getequipisequiped(.@i)) set .@menu$, .@menu$+.@pos$[.@i]+" [^0055FF"+getequipname(.@i)+"^000000]"; set .@menu$, .@menu$+":"; } set @i, select(.@menu$); if (!getequipisequiped(@i)) { message strcharinfo(0),"Nothing is equipped there!"; close; } if (getarg(0)) { if (!getequipisenableref(@i)) { message strcharinfo(0),getequipname(@i)+" cannot be refined."; close; } if (getequiprefinerycnt(@i) >= 10 ) { message strcharinfo(0),"+"+getequiprefinerycnt(@i)+" "+getequipname(@i)+" cannot be refined any further."; close; } } while (getequiprefinerycnt(@i) < 10) successrefitem @i; message strcharinfo(0),"All done!"; close; } Quote
GM Zimtkeks Posted June 13, 2012 Posted June 13, 2012 With or without refining chances? Want the chance to be equal the regular chances with Elu/ Oridecon or Refined Elu/ Oridecon or HD Elu/ Oridecon or just 100% all the time? Quote
Renz Posted June 13, 2012 Author Posted June 13, 2012 just free npc refiner 100% +10 but player will choose what equipment like +10 hat +10 middle +10 lower +10 armor +10 footgear +10 garment +10 shield +10 weapon +10 accesorry Quote
GM Zimtkeks Posted June 13, 2012 Posted June 13, 2012 Are you sure with the +10 to Accessory as well? Cause having two of them combined with the other +10's and high def Equipment will likely make you immune to any kind of physical Damage! Quote
GM Zimtkeks Posted June 13, 2012 Posted June 13, 2012 <header> { setarray .@pos$[1],"Upper Headgear","Armor","Left hand","Right hand","Garment","Footgear","Left Accessory","Right Accessory","Mid Headgear","Lower Headgear"; set .@menu$,""; for (set .@i,1; .@i <= 10; set .@i,.@i+1) { if (getequipisequiped(.@i)) set .@menu$, .@menu$+.@pos$[.@i]+" [^0055FF"+getequipname(.@i)+"^000000]"; set .@menu$, .@menu$+":"; } set @i, select(.@menu$); if (!getequipisequiped(@i)) { message strcharinfo(0),"Nothing is equipped there!"; close; } if (getarg(0)) { if (!getequipisenableref(@i)) { message strcharinfo(0),getequipname(@i)+" cannot be refined."; close; } if (getequiprefinerycnt(@i) >= 10 ) { message strcharinfo(0),"+"+getequiprefinerycnt(@i)+" "+getequipname(@i)+" cannot be refined any further."; close; } } while (getequiprefinerycnt(@i) < 10) successrefitem @i; message strcharinfo(0),"All done!"; close; } You just totally nuked my brain! Hopefully one finest day I am able to understand this script and write it myself xD Quote
Question
Renz
may i have 1 click refiner npc like this
+10 hat
+10 middle
+10 lower
+10 armor
+10 footgear
+10 garment
+10 shield
+10 weapon
+10 accesorry
if player click the npc he will choose equipment for refine
thx
6 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.