summaryrefslogtreecommitdiff
path: root/world/map/npc/annuals/xmas/config.txt
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-01-03 12:29:26 -0600
committerBernhardt <orgzfrgh@gmail.com>2014-01-27 22:39:40 +0100
commitb2a215f461ca89b3b5509c0b94cbe7324aa15227 (patch)
tree7fab3eb98f8fc4472604a8ee0a4f9f56f6bc7dec /world/map/npc/annuals/xmas/config.txt
parent3158c6cc0ef331a8dfa49745af3652c5e273ea5b (diff)
downloadserverdata-b2a215f461ca89b3b5509c0b94cbe7324aa15227.tar.gz
serverdata-b2a215f461ca89b3b5509c0b94cbe7324aa15227.tar.bz2
serverdata-b2a215f461ca89b3b5509c0b94cbe7324aa15227.tar.xz
serverdata-b2a215f461ca89b3b5509c0b94cbe7324aa15227.zip
Xmas Chamber Fixes
- Should no longer get stuck - Has a bit more challenge to sitting - Cooldown in between rounds to allow changing of the guard - Allowing Entry/Exit but not Start Xmas Reward/Event time fixed to properly display proper event mode
Diffstat (limited to 'world/map/npc/annuals/xmas/config.txt')
-rw-r--r--world/map/npc/annuals/xmas/config.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/world/map/npc/annuals/xmas/config.txt b/world/map/npc/annuals/xmas/config.txt
index caf4ad77..4eacec58 100644
--- a/world/map/npc/annuals/xmas/config.txt
+++ b/world/map/npc/annuals/xmas/config.txt
@@ -268,10 +268,15 @@ L_Main:
if($@xmas_debug == $@xmas_reward_time)
goto L_RewardTime;
- if((gettime(6) == $@xmas_reward_start_month && gettime(5) >= $@xmas_reward_start_day)
- || (gettime(6) == $@xmas_end_month && gettime(5) <= $@xmas_reward_end_day))
+ if((gettime(6) == $@xmas_reward_start_month && gettime(5) >= $@xmas_reward_start_day
+ && (gettime(5) <= $@xmas_reward_end_day && $@xmas_reward_start_month == $@xmas_end_month
+ || !($@xmas_reward_start_month == $@xmas_end_month)))
+ || (gettime(6) == $@xmas_end_month && gettime(5) <= $@xmas_reward_end_day
+ && (gettime(5) >= $@xmas_reward_start_day && $@xmas_reward_start_month == $@xmas_end_month
+ || !($@xmas_reward_start_month == $@xmas_end_month)))
+ || (gettime(6) < $@xmas_end_month && gettime(6) > $@xmas_reward_start_month))
goto L_RewardTime;
- if(gettime(6) == $@xmas_start_month)
+ if((gettime(6) >= $@xmas_start_month) || (gettime(6) <= $@xmas_end_month && gettime(5) <= $@xmas_reward_start_day))
goto L_EventTime;
L_NoEventTime: