Core/AI: Make critters flee as soon as engaged in combat and make them evade after they stop running in fear
Port From (https://github.com/TrinityCore/TrinityCore/commit/934c320d4b0da40691be7449f860447fe79b4083)
This commit is contained in:
@@ -502,6 +502,8 @@ namespace Game.AI
|
||||
/// </summary>
|
||||
public virtual void OnGameEvent(bool start, ushort eventId) { }
|
||||
|
||||
public virtual void OnMovementGeneratorFinalized(MovementGeneratorType type) { }
|
||||
|
||||
public virtual string GetDebugInfo()
|
||||
{
|
||||
return $"Me: {(me != null ? me.GetDebugInfo() : "NULL")}";
|
||||
|
||||
Reference in New Issue
Block a user