mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +00:00
fix(Scripts/SethekkHalls): Fix Anzu not leaving banish phase when all… (#17337)
fix(Scripts/SethekkHalls): Fix Anzu not leaving banish phase when all adds die
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user