summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmokexyz <sagunkho@hotmail.com>2017-03-04 03:23:52 +0800
committerGitHub <noreply@github.com>2017-03-04 03:23:52 +0800
commitae7cff5ccd26c7fe6c1070f87cd2ec1cfdca74b3 (patch)
tree2de3dff80eba20ca9c1d136c97e1314d2144f302
parent9fba7e8c5966bb0aa5ce1c31ebe5cec96180e1d5 (diff)
parentb54c22f51ba961d1bf1ff4f0bdd2de39d6d09a8a (diff)
downloadhercules-ae7cff5ccd26c7fe6c1070f87cd2ec1cfdca74b3.tar.gz
hercules-ae7cff5ccd26c7fe6c1070f87cd2ec1cfdca74b3.tar.bz2
hercules-ae7cff5ccd26c7fe6c1070f87cd2ec1cfdca74b3.tar.xz
hercules-ae7cff5ccd26c7fe6c1070f87cd2ec1cfdca74b3.zip
Merge pull request #1602 from Emistry/script_shadow_refiner
Fix issue #1524
-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.";