diff options
author | Emistry Haoyan <Equinox1991@gmail.com> | 2017-03-04 01:09:51 +0800 |
---|---|---|
committer | Emistry Haoyan <Equinox1991@gmail.com> | 2017-03-04 01:09:51 +0800 |
commit | b54c22f51ba961d1bf1ff4f0bdd2de39d6d09a8a (patch) | |
tree | 2de3dff80eba20ca9c1d136c97e1314d2144f302 /npc/re | |
parent | 9fba7e8c5966bb0aa5ce1c31ebe5cec96180e1d5 (diff) | |
download | hercules-b54c22f51ba961d1bf1ff4f0bdd2de39d6d09a8a.tar.gz hercules-b54c22f51ba961d1bf1ff4f0bdd2de39d6d09a8a.tar.bz2 hercules-b54c22f51ba961d1bf1ff4f0bdd2de39d6d09a8a.tar.xz hercules-b54c22f51ba961d1bf1ff4f0bdd2de39d6d09a8a.zip |
Fix issue #1524
- double chance should only available for Enrich ores.
Diffstat (limited to 'npc/re')
-rw-r--r-- | npc/re/merchants/shadow_refiner.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/re/merchants/shadow_refiner.txt b/npc/re/merchants/shadow_refiner.txt index 4e5049e5f..2f8984498 100644 --- a/npc/re/merchants/shadow_refiner.txt +++ b/npc/re/merchants/shadow_refiner.txt @@ -158,7 +158,7 @@ itemmall,31,76,3 script Shadow Blacksmith#nomal 4_F_JOB_BLACKSMITH,{ } delitem .@choose,1; Zeny -= 20000; - if (getequippercentrefinery(.@SelectedPart) > rand(100) || getequippercentrefinery(.@SelectedPart) > rand(100)) { + if (getequippercentrefinery(.@SelectedPart) > rand(100) || ( .@option == 1 && getequippercentrefinery(.@SelectedPart) > rand(100))) { successrefitem .@SelectedPart; mes "[Shadow Blacksmith]"; mes "Refine was successful."; |