Core/Misc: A variety of clean-up changes:
Port From (https://github.com/TrinityCore/TrinityCore/commit/5aee452943e5c76f54f58eea9e6880b54a61ec9c)
This commit is contained in:
@@ -239,12 +239,12 @@ namespace Game.AI
|
||||
|
||||
return me.GetVictim() != null;
|
||||
}
|
||||
else if (me.GetThreatManager().IsThreatListEmpty(true))
|
||||
else if (!me.IsInCombat())
|
||||
{
|
||||
EnterEvadeMode(EvadeReason.NoHostiles);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
else if (me.GetVictim() != null)
|
||||
me.AttackStop();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user