Core/AI: PetAI now properly signals engagement state.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1759502f5d4cc89ab80e9cfb93c804e096a3ad93)
This commit is contained in:
@@ -633,6 +633,16 @@ namespace Game.AI
|
||||
AttackStart(attacker);
|
||||
}
|
||||
|
||||
public override void JustEnteredCombat(Unit who)
|
||||
{
|
||||
EngagementStart(who);
|
||||
}
|
||||
|
||||
public override void JustExitedCombat()
|
||||
{
|
||||
EngagementOver();
|
||||
}
|
||||
|
||||
// The following aren't used by the PetAI but need to be defined to override
|
||||
// default CreatureAI functions which interfere with the PetAI
|
||||
public override void MoveInLineOfSight(Unit who) { }
|
||||
|
||||
Reference in New Issue
Block a user