Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c13d83796f7b2111c5dcf8546bdd84eccd232ae3)
This commit is contained in:
@@ -536,7 +536,7 @@ namespace Game.AI
|
||||
_me = unit;
|
||||
_dist = dist;
|
||||
_playerOnly = playerOnly;
|
||||
_exception = !withTank ? _me.GetThreatManager().GetCurrentVictim() : null;
|
||||
_exception = !withTank ? unit.GetThreatManager().GetLastVictim() : null;
|
||||
_aura = aura;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user