Core/Auras: Implemented AURA_INTERRUPT_FLAG_LEAVE_COMBAT
(cherry picked from commit d621023192a6480aa0f338908a353002fc6accf1)
This commit is contained in:
1 parent
fb87f7d445
commit
f6824d1207
2 files changed
+2
No files matched your search
@@ -10382,6 +10382,7 @@ void Unit::ClearInCombat()
|
||||
ToPlayer()->UpdatePotionCooldown();
|
||||
|
||||
RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PET_IN_COMBAT);
|
||||
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_LEAVE_COMBAT);
|
||||
}
|
||||
|
||||
bool Unit::isTargetableForAttack(bool checkFakeDeath) const
|
||||
|
||||
Reference in new issue
Block a user