From 9f2465632de25155aed319a960529004f67af8ed Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Thu, 15 Dec 2011 14:44:24 +0100 Subject: Christmas Event 2011: fix of checking the characters age, expand reward time --- world/map/npc/xmas/2011/wrappingPaperHelper.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'world/map/npc/xmas/2011/wrappingPaperHelper.txt') diff --git a/world/map/npc/xmas/2011/wrappingPaperHelper.txt b/world/map/npc/xmas/2011/wrappingPaperHelper.txt index 7a96c7b5..9c1b9064 100644 --- a/world/map/npc/xmas/2011/wrappingPaperHelper.txt +++ b/world/map/npc/xmas/2011/wrappingPaperHelper.txt @@ -6,9 +6,11 @@ 030-2.gat,140,31,0|script|Reino|328,{ - 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; set @reed_amount, 2; -- cgit v1.2.3-70-g09d2