summaryrefslogtreecommitdiff
path: root/npc/annuals/xmas
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-06-15 19:53:33 -0300
committerJesusaves <cpntb1@ymail.com>2021-06-15 19:53:33 -0300
commit6a454665079605d231dd72f722eba648c0e01bbc (patch)
tree42de749c8a42d796eef70d2893738c9f272f4588 /npc/annuals/xmas
parent6bc75a466368caad026c26059d91981a9f8a096d (diff)
downloadserverdata-6a454665079605d231dd72f722eba648c0e01bbc.tar.gz
serverdata-6a454665079605d231dd72f722eba648c0e01bbc.tar.bz2
serverdata-6a454665079605d231dd72f722eba648c0e01bbc.tar.xz
serverdata-6a454665079605d231dd72f722eba648c0e01bbc.zip
Fix casts to mobcount() functions
Diffstat (limited to 'npc/annuals/xmas')
-rw-r--r--npc/annuals/xmas/mobmanager.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/annuals/xmas/mobmanager.txt b/npc/annuals/xmas/mobmanager.txt
index e478e6be..d96b0fb0 100644
--- a/npc/annuals/xmas/mobmanager.txt
+++ b/npc/annuals/xmas/mobmanager.txt
@@ -17,7 +17,7 @@ L_InitSpawn:
L_StartLoop:
$@xmas_mob_lck = 1;
$@mob_count = mobcount($@xmas_map_spawns$[$@xmas_map_loop], "XmasSpawnCounter#" + $@xmas_map_loop + "::OnTally");
- $@spawn_amount = ($@xmas_mob_counts[$@xmas_map_loop] - ($@mob_count + 1));
+ $@spawn_amount = ($@xmas_mob_counts[$@xmas_map_loop] - $@mob_count);
if ($@spawn_amount)
goto L_Spawn;
goto L_NextMap;