summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-11 17:32:10 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-11 17:32:10 -0200
commit6d236cebb112c0cc20093a5fea2cdddb740fb7c9 (patch)
tree43adb79b994a084119dbd7ac6b3078a672dca208
parenta00f9a6eebfb4faacebc5423f77786d9db243065 (diff)
downloadserverdata-6d236cebb112c0cc20093a5fea2cdddb740fb7c9.tar.gz
serverdata-6d236cebb112c0cc20093a5fea2cdddb740fb7c9.tar.bz2
serverdata-6d236cebb112c0cc20093a5fea2cdddb740fb7c9.tar.xz
serverdata-6d236cebb112c0cc20093a5fea2cdddb740fb7c9.zip
Safety measure
-rw-r--r--npc/005-1-1/main.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/005-1-1/main.txt b/npc/005-1-1/main.txt
index 34592ab8f..ac01bc43c 100644
--- a/npc/005-1-1/main.txt
+++ b/npc/005-1-1/main.txt
@@ -119,6 +119,8 @@ OnSpawn:
@TOTAL_MRG+=1;
if (@TOTAL_MRG < 8)
addtimer(rand(10000, 12500), "Nylo#Marggo::OnSpawn");
+ if (mobcount(getmap(), "Nylo#Marggo::OnMurder") >= 4)
+ end;
.@mobID=areamonster(.@MAP$, 23, 22, 35, 34, l("Maggot"), Maggot, 1, "Nylo#Marggo::OnMurder");
htput @MARGGO, str(.@mobID), 1;