From 5983997c710486a326789b43cbd9de557909c5c1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 10 Jun 2019 14:43:04 -0300 Subject: Fix bug on siege script --- npc/functions/siege.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 66ae6162c..8e39ff7bb 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -301,7 +301,7 @@ function script siege_cast { // 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; + .@a+=(.@d/5)+1; .@e=any_of($@SIEGE_TMPMOBS); array_remove($@SIEGE_TMPMOBS, .@e); -- cgit v1.2.3-70-g09d2