summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2013-02-16 11:17:28 +0100
committerStefan Beller <stefanbeller@googlemail.com>2013-02-16 11:17:28 +0100
commit71e07c9d57d99016948e3733cba3bfa1fd78203c (patch)
treeaa86181dbafdc065bfb546f698477f08817c56c3 /world/map
parent3465ccd70f8edee0e0a26532c52712c778bc0ee4 (diff)
downloadserverdata-71e07c9d57d99016948e3733cba3bfa1fd78203c.tar.gz
serverdata-71e07c9d57d99016948e3733cba3bfa1fd78203c.tar.bz2
serverdata-71e07c9d57d99016948e3733cba3bfa1fd78203c.tar.xz
serverdata-71e07c9d57d99016948e3733cba3bfa1fd78203c.zip
prevent low level players from annual easter.
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/008-1/annualeaster.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/npc/008-1/annualeaster.txt b/world/map/npc/008-1/annualeaster.txt
index 9bc6b584..425aa529 100644
--- a/world/map/npc/008-1/annualeaster.txt
+++ b/world/map/npc/008-1/annualeaster.txt
@@ -11,6 +11,10 @@
function|script|AnnualEasterEvent|{
+ // prevent players having level 19 or less to get anything:
+ if (BaseLevel < 20)
+ goto L_End2;
+
// prevent clicking multiple times:
if (gettimetick(2) < @eastertimepenalty + $@EASTER_FOUND_WAIT_TIME)
goto L_End2;