From 6d236cebb112c0cc20093a5fea2cdddb740fb7c9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 11 Feb 2019 17:32:10 -0200 Subject: Safety measure --- npc/005-1-1/main.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/005-1-1') 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; -- cgit v1.2.3-70-g09d2