diff options
author | Haru <haru@dotalux.com> | 2017-06-03 18:43:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-03 18:43:44 +0200 |
commit | 3061bb8257578bc88b9873f1ecebb05f8508bd0f (patch) | |
tree | 2d2257b9c574f29896ae0baa71a224c3b4f53ecf /npc/merchants/advanced_refiner.txt | |
parent | f795a6df2766348d2a7f43f48e392b3cf3008781 (diff) | |
parent | 6f2827cbf9282981a29abaa06236fb0cd6300057 (diff) | |
download | hercules-3061bb8257578bc88b9873f1ecebb05f8508bd0f.tar.gz hercules-3061bb8257578bc88b9873f1ecebb05f8508bd0f.tar.bz2 hercules-3061bb8257578bc88b9873f1ecebb05f8508bd0f.tar.xz hercules-3061bb8257578bc88b9873f1ecebb05f8508bd0f.zip |
Merge pull request #1684 from Smokexyz/refine-update
Enriched refine chance correction
Diffstat (limited to 'npc/merchants/advanced_refiner.txt')
-rw-r--r-- | npc/merchants/advanced_refiner.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt index e75912f4c..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; @@ -123,7 +123,7 @@ S_RefineValidate: mes "Would you like to continue?"; next; if(select("Yes", "No") == 1) { - if (getequippercentrefinery(getarg(3)) < 100) { + if (getequippercentrefinery(getarg(3), REFINE_CHANCE_TYPE_ENRICHED) < 100) { if (getarg(0)) { mes "[Suhnbi]"; mes "Wow!!"; |