From d6c56bf61026cf62919f44444875bd323bdba00c Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Sun, 23 Oct 2011 22:36:18 +0200 Subject: Halloween event: player has to be older than one week to do the event. --- world/map/npc/halloween/2011/trick_or_treat.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'world') diff --git a/world/map/npc/halloween/2011/trick_or_treat.txt b/world/map/npc/halloween/2011/trick_or_treat.txt index 07b6c6fe..b5fc7ba3 100644 --- a/world/map/npc/halloween/2011/trick_or_treat.txt +++ b/world/map/npc/halloween/2011/trick_or_treat.txt @@ -17,7 +17,7 @@ // Currently, the vague plan is 16 for each, but we may need to use this variable for the second part of the quest. function|script|TrickOrTreat2011|{ - if (BaseLevel < $@hw2011_min_level) + if ((gettimetick(2)-TUT_var < 7*86400) || (BaseLevel < $@hw2011_min_level)) //player must be created at least 1 weeks ago goto L_QuickReturn; menu "Trick or Treat", -, -- cgit v1.2.3-70-g09d2