summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2013-11-27 17:40:35 -0500
committerMadCamel <madcamel@gmail.com>2013-11-27 17:40:35 -0500
commit0a2c474e0aa0816a4085cf1999c1fe26a7764aad (patch)
tree2efe41e0d488fb4af451ae52f778d71fc0c042b7 /world
parent8aa4cc37857682ede53f4e8fba206a490f20ed4a (diff)
downloadserverdata-0a2c474e0aa0816a4085cf1999c1fe26a7764aad.tar.gz
serverdata-0a2c474e0aa0816a4085cf1999c1fe26a7764aad.tar.bz2
serverdata-0a2c474e0aa0816a4085cf1999c1fe26a7764aad.tar.xz
serverdata-0a2c474e0aa0816a4085cf1999c1fe26a7764aad.zip
Monsters in graveyard now reset when there are no players present
This helps prevent nerfing and other player-abuses of the map. It's also pretty creepy to walk into an empty graveyard and have a bunch of mobs slowly sneak up on you...
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/027-1/golbenez.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/world/map/npc/027-1/golbenez.txt b/world/map/npc/027-1/golbenez.txt
index d560f953..34885a34 100644
--- a/world/map/npc/027-1/golbenez.txt
+++ b/world/map/npc/027-1/golbenez.txt
@@ -34,4 +34,20 @@ L_Weak:
next;
mes "\"Come back when you're a bit more experienced.\"";
close;
+
+// Golbenez resets the graveyard monsters when no players are present
+// He's such an evil guy!
+OnInit:
+ initnpctimer;
+ end;
+
+OnTimer10000:
+ if (getareausers("027-1.gat", 21, 30, 112, 105) == 0)
+ killmonsterall "027-1.gat";
+
+ setnpctimer 0;
+ end;
}
+
+
+