mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
@@ -30,6 +30,7 @@
|
||||
#include "ObjectAccessor.h"
|
||||
#include "Player.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "SpellHistory.h"
|
||||
#include "TemporarySummon.h"
|
||||
#include "Vehicle.h"
|
||||
#include "World.h"
|
||||
@@ -309,6 +310,7 @@ bool CreatureAI::_EnterEvadeMode(EvadeReason /*why*/)
|
||||
me->SetLastDamagedTime(0);
|
||||
me->SetCannotReachTarget(false);
|
||||
me->DoNotReacquireSpellFocusTarget();
|
||||
me->GetSpellHistory()->ResetAllCooldowns();
|
||||
EngagementOver();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user