diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-06-15 19:53:33 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-06-15 19:53:33 -0300 |
commit | 6a454665079605d231dd72f722eba648c0e01bbc (patch) | |
tree | 42de749c8a42d796eef70d2893738c9f272f4588 /npc/055-1 | |
parent | 6bc75a466368caad026c26059d91981a9f8a096d (diff) | |
download | serverdata-6a454665079605d231dd72f722eba648c0e01bbc.tar.gz serverdata-6a454665079605d231dd72f722eba648c0e01bbc.tar.bz2 serverdata-6a454665079605d231dd72f722eba648c0e01bbc.tar.xz serverdata-6a454665079605d231dd72f722eba648c0e01bbc.zip |
Fix casts to mobcount() functions
Diffstat (limited to 'npc/055-1')
-rw-r--r-- | npc/055-1/flowerpentagram4.txt | 3 |
1 files changed, 1 insertions, 2 deletions
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; |