summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-10-23 22:36:18 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-10-23 22:37:15 +0200
commitd6c56bf61026cf62919f44444875bd323bdba00c (patch)
tree88e1e0a8158dcbf7ee3c6af925bd021841f6fcaf
parentdd92758fdbb472d98ea33ecbc85f951a3e9cf883 (diff)
downloadserverdata-2011.20.24.tar.gz
serverdata-2011.20.24.tar.bz2
serverdata-2011.20.24.tar.xz
serverdata-2011.20.24.zip
Halloween event: player has to be older than one week to do the event.v2011.20.24
-rw-r--r--world/map/npc/halloween/2011/trick_or_treat.txt2
1 files changed, 1 insertions, 1 deletions
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", -,