summaryrefslogtreecommitdiff
path: root/npc/005-1-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-1-1')
-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;