Core/AI: CreatureAI.EnterCombat is now called CreatureAI.JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bce43de7f3fba618c370f2aba327d23dd30d1cdd)
This commit is contained in:
@@ -1443,7 +1443,7 @@ namespace Game.Entities
|
||||
if (enemy != null)
|
||||
{
|
||||
if (IsAIEnabled)
|
||||
creature.GetAI().EnterCombat(enemy);
|
||||
creature.GetAI().JustEngagedWith(enemy);
|
||||
|
||||
if (creature.GetFormation() != null)
|
||||
creature.GetFormation().MemberEngagingTarget(creature, enemy);
|
||||
|
||||
Reference in New Issue
Block a user