From 3f83bdd97d3788c4aa5966369480267cbce9c866 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 6 May 2019 20:17:38 -0300 Subject: Spawn more monsters, but in a more proportional way. --- npc/functions/siege.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index bd733c253..9e43ca601 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -238,8 +238,10 @@ function script siege_cast { siege_selectmob(siege_calcdiff(.@mz$), .@d, .@tp); - // How many monsters? - .@a=(.@d/3)+1; + // How many monsters? This value is multiplied by 3; + // 1 per player (= 3 mobs), 1 each 5 difficulty, 1 always present. + .@a=getmapusers(.@mz$); + .@a=(.@d/5)+1; .@e=any_of($@SIEGE_TMPMOBS); array_remove($@SIEGE_TMPMOBS, .@e); -- cgit v1.2.3-60-g2f50