diff options
author | smokexyz <sagunkho@hotmail.com> | 2017-05-21 11:46:43 +0800 |
---|---|---|
committer | smokexyz <sagunkho@hotmail.com> | 2017-05-22 20:41:26 +0800 |
commit | b1b7b031c1dd97ff63c28549c86528800952a752 (patch) | |
tree | 2702fa300d4a18606784a67913fcf64fd4f21d06 /npc | |
parent | 57cd3c61fc0b121d876eec1baf6fc0024d10d071 (diff) | |
download | hercules-b1b7b031c1dd97ff63c28549c86528800952a752.tar.gz hercules-b1b7b031c1dd97ff63c28549c86528800952a752.tar.bz2 hercules-b1b7b031c1dd97ff63c28549c86528800952a752.tar.xz hercules-b1b7b031c1dd97ff63c28549c86528800952a752.zip |
Update npc/<re/>merchants/advanced_refiner.txt.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/merchants/advanced_refiner.txt | 4 | ||||
-rw-r--r-- | npc/re/merchants/advanced_refiner.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt index 0d53dab87..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, true) > rand(100)) { + if (getequippercentrefinery(.@part, REFINE_CHANCE_TYPE_ENRICHED) > rand(100)) { successrefitem .@part; next; emotion e_no1; @@ -123,7 +123,7 @@ S_RefineValidate: mes "Would you like to continue?"; next; if(select("Yes", "No") == 1) { - if (getequippercentrefinery(getarg(3), true) < 100) { + if (getequippercentrefinery(getarg(3), REFINE_CHANCE_TYPE_ENRICHED) < 100) { if (getarg(0)) { mes "[Suhnbi]"; mes "Wow!!"; diff --git a/npc/re/merchants/advanced_refiner.txt b/npc/re/merchants/advanced_refiner.txt index 1484d069c..5b3f69593 100644 --- a/npc/re/merchants/advanced_refiner.txt +++ b/npc/re/merchants/advanced_refiner.txt @@ -140,7 +140,7 @@ malangdo,221,174,6 script Holink#mal_cash 4_CAT_ADV1,{ mes "You don't belive in refine master Holink, meow?~"; close; } - if (getequippercentrefinery(.@part) < 100) { + if (getequippercentrefinery(.@part, REFINE_CHANCE_TYPE_ENRICHED) < 100) { mes "[Holink]"; mes "Meow!!"; if (.@type$ == "armor") @@ -177,7 +177,7 @@ malangdo,221,174,6 script Holink#mal_cash 4_CAT_ADV1,{ } delitem .@material,1; Zeny -= .@price; - if (getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100)) { + if (getequippercentrefinery(.@part, REFINE_CHANCE_TYPE_ENRICHED) > rand(100)) { successrefitem .@part; mes "[Holink]"; mes "Me~ Me~ Meow! Fun fun refining~"; |