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/012-1/flowerpentagram2.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'npc/012-1') 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; -- cgit v1.2.3-60-g2f50