diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-10-23 22:36:18 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-10-23 22:37:15 +0200 |
commit | d6c56bf61026cf62919f44444875bd323bdba00c (patch) | |
tree | 88e1e0a8158dcbf7ee3c6af925bd021841f6fcaf | |
parent | dd92758fdbb472d98ea33ecbc85f951a3e9cf883 (diff) | |
download | serverdata-d6c56bf61026cf62919f44444875bd323bdba00c.tar.gz serverdata-d6c56bf61026cf62919f44444875bd323bdba00c.tar.bz2 serverdata-d6c56bf61026cf62919f44444875bd323bdba00c.tar.xz serverdata-d6c56bf61026cf62919f44444875bd323bdba00c.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.txt | 2 |
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", -, |