diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/siege.txt | 6 |
1 files 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); |