From b6e5e9f8842962ee381f371e23f885f9a7e3b339 Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:05:39 -0300 Subject: [PATCH] =?UTF-8?q?fix(Scripts/SethekkHalls):=20Fix=20Anzu=20not?= =?UTF-8?q?=20leaving=20banish=20phase=20when=20all=E2=80=A6=20(#17337)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Scripts/SethekkHalls): Fix Anzu not leaving banish phase when all adds die --- .../scripts/Outland/Auchindoun/SethekkHalls/boss_anzu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_anzu.cpp b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_anzu.cpp index c13ec226e..fe184a9c7 100644 --- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_anzu.cpp +++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_anzu.cpp @@ -83,13 +83,13 @@ struct boss_anzu : public BossAI uint32 talkTimer; - void SummonedCreatureDies(Creature* summon, Unit*) override + void SummonedCreatureDies(Creature* summon, Unit* /*killer*/) override { if (summon->GetEntry() == NPC_BROOD_OF_ANZU) { summons.Despawn(summon); summons.RemoveNotExisting(); - if (summons.empty()) + if (!summons.HasEntry(NPC_BROOD_OF_ANZU)) { me->RemoveAurasDueToSpell(SPELL_BANISH_SELF); }