summaryrefslogtreecommitdiff
path: root/world/map/npc/xmas/2011/santa.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/xmas/2011/santa.txt')
-rw-r--r--world/map/npc/xmas/2011/santa.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/world/map/npc/xmas/2011/santa.txt b/world/map/npc/xmas/2011/santa.txt
index 028239a1..de2265d9 100644
--- a/world/map/npc/xmas/2011/santa.txt
+++ b/world/map/npc/xmas/2011/santa.txt
@@ -5,9 +5,11 @@
030-2.gat,197,62,0|script|Santa|105,{
- if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day))
+ if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day)
+ && !(gettime(7) == ($@xmas2011_year + 1) && gettime(6) == 1 && gettime(5) <= $@xmas2011_reward_end_day))
goto L_NoEvent;
- if ((gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_reward_start_day))
+ if ((gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_reward_start_day)
+ || (gettime(7) == ($@xmas2011_year + 1) && gettime(6) == 1 && gettime(5) <= $@xmas2011_reward_end_day))
goto L_RewardTime;
if (xmas11 & $@xmas11_talkedToChief) goto L_Helping;