From 8e2ef9fa67e076c5aa3be8c759e17f27c873a9b4 Mon Sep 17 00:00:00 2001 From: wushin Date: Sun, 2 Nov 2014 19:55:33 -0600 Subject: Fix Halloween timing --- world/map/npc/annuals/halloween/config.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'world/map/npc') diff --git a/world/map/npc/annuals/halloween/config.txt b/world/map/npc/annuals/halloween/config.txt index a3d5fd58..7405a1c0 100644 --- a/world/map/npc/annuals/halloween/config.txt +++ b/world/map/npc/annuals/halloween/config.txt @@ -337,6 +337,8 @@ L_Main: if (gettime(6) == $@halloween_reward_start_month) set $@halloween_min_age, ((gettime(5) + 38)*86400); + if(gettime(6) <= $@halloween_end_month && gettime(5) > $@halloween_reward_end_day) + goto L_NoEventTime; if((gettime(6) == $@halloween_reward_start_month && gettime(5) >= $@halloween_reward_start_day && (gettime(5) <= $@halloween_reward_end_day && $@halloween_reward_start_month == $@halloween_end_month || !($@halloween_reward_start_month == $@halloween_end_month))) -- cgit v1.2.3-70-g09d2