Core/Combat: Properly unset engagement flag on death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b1ca0ca128425677043d36a147a019f6d2ac6e6)
This commit is contained in:
@@ -244,6 +244,12 @@ namespace Game.AI
|
||||
if (!IsEngaged())
|
||||
return false;
|
||||
|
||||
if (!me.IsAlive())
|
||||
{
|
||||
EngagementOver();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!me.HasReactState(ReactStates.Passive))
|
||||
{
|
||||
Unit victim = me.SelectVictim();
|
||||
|
||||
Reference in New Issue
Block a user