mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7697] Interrupt casting at enter to evade mode.
This commit is contained in:
parent
cc83cac0aa
commit
d910610600
9 changed files with 19 additions and 18 deletions
|
|
@ -66,7 +66,7 @@ void GuardAI::EnterEvadeMode()
|
|||
i_state = STATE_NORMAL;
|
||||
|
||||
i_victimGuid = 0;
|
||||
m_creature->CombatStop();
|
||||
m_creature->CombatStop(true);
|
||||
m_creature->DeleteThreatList();
|
||||
return;
|
||||
}
|
||||
|
|
@ -97,7 +97,7 @@ void GuardAI::EnterEvadeMode()
|
|||
m_creature->RemoveAllAuras();
|
||||
m_creature->DeleteThreatList();
|
||||
i_victimGuid = 0;
|
||||
m_creature->CombatStop();
|
||||
m_creature->CombatStop(true);
|
||||
i_state = STATE_NORMAL;
|
||||
|
||||
// Remove TargetedMovementGenerator from MotionMaster stack list, and add HomeMovementGenerator instead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue