summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmistry Haoyan <Equinox1991@gmail.com>2017-03-04 01:09:51 +0800
committerEmistry Haoyan <Equinox1991@gmail.com>2017-03-04 01:09:51 +0800
commitb54c22f51ba961d1bf1ff4f0bdd2de39d6d09a8a (patch)
tree2de3dff80eba20ca9c1d136c97e1314d2144f302
parent9fba7e8c5966bb0aa5ce1c31ebe5cec96180e1d5 (diff)
downloadhercules-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.
-rw-r--r--npc/re/merchants/shadow_refiner.txt2
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.";