mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 15:28:02 +00:00
feat(Core/Unit): Add OnUnitExitCombat hook (#25215)
This commit is contained in:
@@ -7583,6 +7583,7 @@ void Unit::UpdatePetCombatState()
|
||||
void Unit::AtExitCombat()
|
||||
{
|
||||
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_LEAVE_COMBAT);
|
||||
sScriptMgr->OnUnitExitCombat(this);
|
||||
}
|
||||
|
||||
void Unit::AtEngage(Unit* /*target*/)
|
||||
|
||||
Reference in New Issue
Block a user