diff options
Diffstat (limited to 'npc/merchants/advanced_refiner.txt')
-rw-r--r-- | npc/merchants/advanced_refiner.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt index fe69a8a3a..9632f95f7 100644 --- a/npc/merchants/advanced_refiner.txt +++ b/npc/merchants/advanced_refiner.txt @@ -93,7 +93,7 @@ payon,157,146,6 script Suhnbi#cash 4_M_03,{ mes "[Suhnbi]"; mes "Clang! Clang! Clang!"; - if (getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100)) { + if (getequippercentrefinery(.@part, REFINE_CHANCE_TYPE_ENRICHED) > rand(100)) { successrefitem .@part; next; emotion e_no1; @@ -122,8 +122,8 @@ S_RefineValidate: mes "To refine that, you'll need to have one ^ff9999" + getitemname(getarg(1)) + "^000000 and " + getarg(2) + " zeny."; mes "Would you like to continue?"; next; - if(select("Yes:No") == 1) { - if (getequippercentrefinery(getarg(3)) < 100) { + if(select("Yes", "No") == 1) { + if (getequippercentrefinery(getarg(3), REFINE_CHANCE_TYPE_ENRICHED) < 100) { if (getarg(0)) { mes "[Suhnbi]"; mes "Wow!!"; @@ -139,7 +139,7 @@ S_RefineValidate: mes "^ff0000Besides, the equipment will break!^000000"; mes "Are you sure you still want to continue?"; next; - if(select("Yes:No") == 2) { + if(select("Yes", "No") == 2) { mes "[Suhnbi]"; mes "Good."; mes "Because if the weapon breaks from unreasonable refining, then I get a bad mood, too."; @@ -155,7 +155,7 @@ S_RefineValidate: //mes "Everything will disappear. As in... GONE!"; mes "Do you really wish to continue?"; next; - if(select("Yes:No") == 2) { + if(select("Yes", "No") == 2) { mes "[Suhnbi]"; mes "What nonsense. You waste my precious time."; mes "Get lost, punk."; |