Tonetzkii Posted July 25, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 323 Reputation: 9 Joined: 11/19/11 Last Seen: September 25, 2015 Share Posted July 25, 2012 Can you correct my script? This is the 1 click refine equipment but the un-refineable equipt like Poo Poo hat of course cannot be refined. prt_in,163,142,3 script Refiner 826,{ if(getequipisequiped(1)) { } else (!getequipisenableref(.@part)) { mes "I cant refine this items. Because it is ^FF0000Un-Refineable^000000."; close; } set .@refinerycnt,getequiprefinerycnt(1); while (.@refinerycnt < 4) { successrefitem 1; set .@refinerycnt, .@refinerycnt+1; } } if(getequipisequiped(2)) { set .@refinerycnt,getequiprefinerycnt(2); while (.@refinerycnt < 4) { successrefitem 2; set .@refinerycnt, .@refinerycnt+1; } } if(getequipisequiped(3)) { set .@refinerycnt,getequiprefinerycnt(3); while (.@refinerycnt < 4) { successrefitem 3; set .@refinerycnt, .@refinerycnt+1; } } if(getequipisequiped(5)) { set .@refinerycnt,getequiprefinerycnt(5); while (.@refinerycnt < 4) { successrefitem 5; set .@refinerycnt, .@refinerycnt+1; } } if(getequipisequiped(6)) { set .@refinerycnt,getequiprefinerycnt(6); while (.@refinerycnt < 4) { successrefitem 6; set .@refinerycnt, .@refinerycnt+1; } } if(getequipisequiped(4)) { set .@refinerycnt,getequiprefinerycnt(4); if(getequipweaponlv(4) == 1 || getequipweaponlv(4) == 2) { while (.@refinerycnt < 7) { successrefitem 4; set .@refinerycnt, .@refinerycnt+1; } } } if(getequipweaponlv(4) == 3 || getequipweaponlv(4) == 4) { while (.@refinerycnt < 5) { successrefitem 4; set .@refinerycnt, .@refinerycnt+1; } } } Bump! Quote Link to comment Share on other sites More sharing options...
Question
Tonetzkii
Can you correct my script? This is the 1 click refine equipment but the un-refineable equipt like Poo Poo hat of course cannot be refined.
Bump!
Link to comment
Share on other sites
0 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.