Some one can explain to me, how the success rate works on this NPC? ... Only then i can change it to whatever rates i want.
Quote
// Make sure you have the neccessary items and Zeny to refine your items
// Determines chance of failure and verifies that you want to continue.
switch(getequipweaponlv(.@part)) {
case 1: callsub S_RefineValidate,1,7620,500,.@part; break;
case 2: callsub S_RefineValidate,2,7620,2500,.@part; break;
case 3: callsub S_RefineValidate,3,7620,5000,.@part; break;
case 4: callsub S_RefineValidate,4,7620,7500,.@part; break;
default: callsub S_RefineValidate,0,7619,50,.@part; break;
}
mes "[Herrero]";
mes "Clang! Clang! Clang!";
if (getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100)) {
successrefitem .@part;
next;
emotion e_no1;
mes "[Suhnbi]";
mes "Esta hecho!.";
mes "Ha pasado tiempo de la ultima vez que hice una mejora como esta"+((getequipweaponlv(.@part))?"Arma":"Armadura")+". Deberias estar feliz, por que se ha hecho mas fuerte!";
close;
Question
admagnus
Some one can explain to me, how the success rate works on this NPC? ... Only then i can change it to whatever rates i want.
Link to comment
Share on other sites
5 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.