From d6f791155e276de7606aab6d01bdc00f787dbbd9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 15 Dec 2021 21:00:57 -0300 Subject: Trim monster population limit from 200 to 60 on spawn and 120 on spawn2 --- npc/annuals/xmas/2021.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt index 7d1dcd2d..4b8543ca 100644 --- a/npc/annuals/xmas/2021.txt +++ b/npc/annuals/xmas/2021.txt @@ -394,7 +394,7 @@ public function spawn { else .@m$=getarg(2); .@n$="#XMAS21Core::On"+getarg(0); - if (mobcount(.@m$, .@n$) < 200 && getarg(3, true)) { + if (mobcount(.@m$, .@n$) < 60 && getarg(3, true)) { /* Spawn normally */ areamonster .@m$, 20, 20, getmapinfo(MAPINFO_SIZE_X, .@m$)-20, getmapinfo(MAPINFO_SIZE_Y, .@m$)-20, strmobinfo(1, getarg(0)), getarg(0), getarg(1, 1), .@n$; } else if (!getarg(3, true)) { @@ -435,7 +435,7 @@ public function spawn2 { .@x2=min(getarg(1)+getarg(3), getmapinfo(MAPINFO_SIZE_X, .@m$)-20); .@y2=min(getarg(2)+getarg(3), getmapinfo(MAPINFO_SIZE_Y, .@m$)-20); */ - if (mobcount(.@m$, .@n$) < 200) { + if (mobcount(.@m$, .@n$) < 120) { .@mg=areamonster(.@m$, .@x1, .@y1, .@x2, .@y2, strmobinfo(1, getarg(0)), getarg(0), getarg(5, 1), .@n$); if (.@noob && .@mg) { .@hp = getunitdata(.@mg, UDT_MAXHP) * 3 / 5; // Reduce to 60% HP -- cgit v1.2.3-60-g2f50