From 67a9e9041903f5606a96b62bd0142b4326722a13 Mon Sep 17 00:00:00 2001 From: gumi Date: Thu, 11 Jan 2018 21:44:17 -0500 Subject: fix even time checker --- world/map/npc/annuals/check_time.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'world/map/npc/annuals/check_time.txt') diff --git a/world/map/npc/annuals/check_time.txt b/world/map/npc/annuals/check_time.txt index 06de3038..1d37ecbc 100644 --- a/world/map/npc/annuals/check_time.txt +++ b/world/map/npc/annuals/check_time.txt @@ -5,7 +5,7 @@ // $@start_day // $@end_day // $@reward_start_month -// $@reward_start_day +// $@reward_start_day function|script|GetEventTime { @@ -37,7 +37,7 @@ L_YearWrap: || !($@reward_start_month == $@end_month))) || ($@month < $@end_month && $@month > $@reward_start_month)) goto L_RewardTime; - if(($@month >= $@start_month) || ($@month <= $@end_month && $@day <= $@reward_start_day)) + if (($@month >= $@start_month && $@day >= $@start_day) || ($@month <= $@end_month && $@day <= $@end_day)) goto L_EventTime; goto L_NoEventTime; -- cgit v1.2.3-70-g09d2