summaryrefslogtreecommitdiff
path: root/npc/017-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/017-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/017-1')
-rw-r--r--npc/017-1/flowerpentagram1.txt3
-rw-r--r--npc/017-1/flowerpentagram5.txt3
2 files changed, 2 insertions, 4 deletions
diff --git a/npc/017-1/flowerpentagram1.txt b/npc/017-1/flowerpentagram1.txt
index 8d2d7118..c16c20c1 100644
--- a/npc/017-1/flowerpentagram1.txt
+++ b/npc/017-1/flowerpentagram1.txt
@@ -24,8 +24,7 @@ L_Next:
L_Place:
set @localMonsterCount,
mobcount("017-1", "#FlowerPentagram1::OnSquirrelDeath") +
- mobcount("017-1", "#FlowerPentagram1::OnScorpionDeath") +
- 2; // the mobcount function has an offset of -1, so we add 2 to have the actual amount of monsters
+ mobcount("017-1", "#FlowerPentagram1::OnScorpionDeath");
if (@localMonsterCount > 2)
goto L_MonstersAlive;
diff --git a/npc/017-1/flowerpentagram5.txt b/npc/017-1/flowerpentagram5.txt
index c9f6d5af..22395d06 100644
--- a/npc/017-1/flowerpentagram5.txt
+++ b/npc/017-1/flowerpentagram5.txt
@@ -29,8 +29,7 @@ L_Place:
mobcount("013-1", "#FlowerPentagram5::OnScorpionDeath") +
mobcount("013-1", "#FlowerPentagram5::OnRScorpionDeath") +
mobcount("013-1", "#FlowerPentagram5::OnAScorpionDeath") +
- mobcount("013-1", "#FlowerPentagram5::OnBScorpionDeath") +
- 8; // the mobcount function has an offset of -1, so we add 8 to have the actual amount of monsters
+ mobcount("013-1", "#FlowerPentagram5::OnBScorpionDeath");
if (@localMonsterCount > 4)
goto L_MonstersAlive;