summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-01-11 21:44:17 -0500
committergumi <git@gumi.ca>2018-01-11 21:44:17 -0500
commit67a9e9041903f5606a96b62bd0142b4326722a13 (patch)
tree3fac348d082c7526a12bf8e2a5867fa146decabc
parentb8c74de0e41c4181779e16e4e4bd843f053b2ebe (diff)
downloadserverdata-67a9e9041903f5606a96b62bd0142b4326722a13.tar.gz
serverdata-67a9e9041903f5606a96b62bd0142b4326722a13.tar.bz2
serverdata-67a9e9041903f5606a96b62bd0142b4326722a13.tar.xz
serverdata-67a9e9041903f5606a96b62bd0142b4326722a13.zip
fix even time checker
-rw-r--r--world/map/npc/annuals/check_time.txt4
1 files changed, 2 insertions, 2 deletions
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;