summaryrefslogtreecommitdiff
path: root/world/map/npc/030-2/storage_helper.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/030-2/storage_helper.txt')
-rw-r--r--world/map/npc/030-2/storage_helper.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/world/map/npc/030-2/storage_helper.txt b/world/map/npc/030-2/storage_helper.txt
index 168937e8..e0758563 100644
--- a/world/map/npc/030-2/storage_helper.txt
+++ b/world/map/npc/030-2/storage_helper.txt
@@ -81,7 +81,8 @@ L_BadCandy:
set @dq_exp, $@xmas_bad_exp;
callfunc "DailyQuest";
- set @karma_bonus, $@xmas_karma_bonus * @multipler;
+ if ( @dq_multiplier < 1 ) goto L_Close;
+ set @karma_bonus, $@xmas_karma_bonus * @dq_multiplier;
callfunc "XmasNaughty";
goto L_Close;
@@ -95,7 +96,8 @@ L_GoodCandy:
set @dq_exp, $@xmas_good_exp;
callfunc "DailyQuest";
- set @karma_bonus, $@xmas_karma_bonus * @multipler;
+ if ( @dq_multiplier < 1 ) goto L_Close;
+ set @karma_bonus, $@xmas_karma_bonus * @dq_multiplier;
callfunc "XmasNice";
goto L_Close;