fix(Creature/Core): Boss phased reset (#7828)

Co-authored-by: Si1ker <Si1ker@users.noreply.github.com>
Co-authored-by: lineagedr <lineagedr@users.noreply.github.com>
Co-authored-by: Footman <footman@hotmail.de>
This commit is contained in:
Silker
2021-09-16 06:32:36 -06:00
committed by GitHub
parent fd229f75e1
commit 4dc642d530
6 changed files with 97 additions and 3 deletions

View File

@@ -604,6 +604,11 @@ void BossAI::SummonedCreatureDespawn(Creature* summon)
summons.Despawn(summon);
}
void BossAI::SummonedCreatureDespawnAll()
{
summons.DespawnAll();
}
void BossAI::UpdateAI(uint32 diff)
{
if (!UpdateVictim())