From 6a454665079605d231dd72f722eba648c0e01bbc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 15 Jun 2021 19:53:33 -0300 Subject: Fix casts to mobcount() functions --- npc/055-1/flowerpentagram4.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'npc/055-1') diff --git a/npc/055-1/flowerpentagram4.txt b/npc/055-1/flowerpentagram4.txt index f310e218..86966c15 100644 --- a/npc/055-1/flowerpentagram4.txt +++ b/npc/055-1/flowerpentagram4.txt @@ -30,8 +30,7 @@ L_Place: mobcount("055-1", "#FlowerPentagram4::OnScorpionDeath") + mobcount("055-1", "#FlowerPentagram4::OnRScorpionDeath") + mobcount("055-1", "#FlowerPentagram4::OnAScorpionDeath") + - mobcount("055-1", "#FlowerPentagram4::OnBScorpionDeath") + - 8; // the mobcount function has an offset of -1, so we add 8 to have the actual amount of monsters + mobcount("055-1", "#FlowerPentagram4::OnBScorpionDeath"); if (@localMonsterCount > 4) goto L_MonstersAlive; -- cgit v1.2.3-60-g2f50