From f75d11befa4096711ef9055e495286534ee81ba3 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Tue, 15 May 2012 16:17:03 +0200 Subject: Expand seasonal quest to be available during a londer period and fix how the time is checked. --- world/map/npc/019-1/santa_helper.txt | 2 +- world/map/npc/019-1/snowman.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'world/map/npc') diff --git a/world/map/npc/019-1/santa_helper.txt b/world/map/npc/019-1/santa_helper.txt index f7d1f36e..e0b7456d 100644 --- a/world/map/npc/019-1/santa_helper.txt +++ b/world/map/npc/019-1/santa_helper.txt @@ -4,7 +4,7 @@ 019-1.gat,74,75,0|script|Santa's Helper|105,{ callfunc "ClearVariables"; if (FLAGS & FLAG_SANTAS_HELPER) goto L_Done; - if ($@month == 12) goto L_Quest; + if ((gettime(6) == 12) || ((gettime(6) == 1) && (gettime(5) < 7))) goto L_Quest; mes "[Santa's Helper]"; mes "\"Ah, isn't it peaceful here? Around Christmas time we always have problems with some slimy monsters."; diff --git a/world/map/npc/019-1/snowman.txt b/world/map/npc/019-1/snowman.txt index 529a7a50..b2c8a67d 100644 --- a/world/map/npc/019-1/snowman.txt +++ b/world/map/npc/019-1/snowman.txt @@ -4,7 +4,7 @@ 019-1.gat,77,44,0|script|Snowman|129,{ callfunc "ClearVariables"; if (FLAGS & FLAG_SNOWMAN) goto L_Done; - if ($@month == 12 || $@month == 1 || $@month == 2) goto L_Quest; + if (gettime(6) == 12 || gettime(6) == 1 || gettime(6) == 2) goto L_Quest; mes "A beautiful snowman. It looks almost alive."; mes "Maybe the magic of Christmas time will breath life into it?"; -- cgit v1.2.3-60-g2f50