summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-10 14:43:04 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-10 14:43:04 -0300
commit5983997c710486a326789b43cbd9de557909c5c1 (patch)
treebf9209c7f8dc4b636f6c88e0a39852dad4731d82
parentf156028f475a15258faa9bbb5c2442229c9c50f9 (diff)
downloadserverdata-5983997c710486a326789b43cbd9de557909c5c1.tar.gz
serverdata-5983997c710486a326789b43cbd9de557909c5c1.tar.bz2
serverdata-5983997c710486a326789b43cbd9de557909c5c1.tar.xz
serverdata-5983997c710486a326789b43cbd9de557909c5c1.zip
Fix bug on siege script
-rw-r--r--npc/functions/siege.txt2
1 files changed, 1 insertions, 1 deletions
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);