refactor(Core/AI): Some more refactoring prep for Comat Threat system… (#15026)

Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
This commit is contained in:
Kitzunu
2023-02-13 21:39:40 +01:00
committed by GitHub
parent fdfa88093e
commit bd6034e1a9
391 changed files with 873 additions and 846 deletions

View File

@@ -593,7 +593,7 @@ void BossAI::_JustDied()
}
}
void BossAI::_EnterCombat()
void BossAI::_JustEngagedWith()
{
me->SetCombatPulseDelay(5);
me->setActive(true);
@@ -690,7 +690,7 @@ void WorldBossAI::_JustDied()
summons.DespawnAll();
}
void WorldBossAI::_EnterCombat()
void WorldBossAI::_JustEngagedWith()
{
Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 0.0f, true);
if (target)