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:
parent
fdfa88093e
commit
bd6034e1a9
391 changed files with 873 additions and 846 deletions
|
|
@ -13675,7 +13675,7 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy, uint32 duration)
|
|||
if (enemy)
|
||||
{
|
||||
if (IsAIEnabled)
|
||||
creature->AI()->EnterCombat(enemy);
|
||||
creature->AI()->JustEngagedWith(enemy);
|
||||
|
||||
if (creature->GetFormation())
|
||||
creature->GetFormation()->MemberEngagingTarget(creature, enemy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue