summaryrefslogtreecommitdiff
path: root/npc/025-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-14 18:06:42 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-14 18:06:42 -0300
commit73ef19462d48c61807d7db9183e48be01be636e3 (patch)
tree0d46166c8fba143c4069c0b8c80d289898073632 /npc/025-1
parent7beeb17075b66b641abbe68893f7b8d2236c08f8 (diff)
downloadserverdata-73ef19462d48c61807d7db9183e48be01be636e3.tar.gz
serverdata-73ef19462d48c61807d7db9183e48be01be636e3.tar.bz2
serverdata-73ef19462d48c61807d7db9183e48be01be636e3.tar.xz
serverdata-73ef19462d48c61807d7db9183e48be01be636e3.zip
If 200 monsters exist at Fortress Island, only 30' Heartbeat will apply
Diffstat (limited to 'npc/025-1')
-rw-r--r--npc/025-1/ctrl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c
index 50e7c23d6..be1d0d397 100644
--- a/npc/025-1/ctrl.c
+++ b/npc/025-1/ctrl.c
@@ -176,7 +176,8 @@ OnTimer15000:
if ($FORTRESS_STATE)
end;
.@breach=($@FORTRESS_STATUE & 1024);
- spawnCore(.@breach);
+ if (mobcount("025-1", "all") < 200)
+ spawnCore(.@breach);
end;
// Heartbeat (B2)