summaryrefslogtreecommitdiff
path: root/npc/012-1
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/012-1
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/012-1')
-rw-r--r--npc/012-1/flowerpentagram2.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/npc/012-1/flowerpentagram2.txt b/npc/012-1/flowerpentagram2.txt
index f10524d3..b7f6f99b 100644
--- a/npc/012-1/flowerpentagram2.txt
+++ b/npc/012-1/flowerpentagram2.txt
@@ -26,8 +26,7 @@ L_Place:
mobcount("012-1", "#FlowerPentagram2::OnSquirrelDeath") +
mobcount("012-1", "#FlowerPentagram2::OnMushroomDeath") +
mobcount("012-1", "#FlowerPentagram2::OnScorpionDeath") +
- mobcount("012-1", "#FlowerPentagram2::OnRScorpionDeath") +
- 4; // the mobcount function has an offset of -1, so we add 4 to have the actual amount of monsters
+ mobcount("012-1", "#FlowerPentagram2::OnRScorpionDeath");
if (@localMonsterCount > 2)
goto L_MonstersAlive;