Core/Spells: ported PROC_FLAG_ENTER_COMBAT implementation from master branch and handle the Worgen transformation via its proc aura

This commit is contained in:
Ovahlord committed 2021-08-30 19:24:36 +02:00
1 parent f27c4609fc
commit 3506dae653
7 files changed
+46 -16

No files matched your search

+1
View File
@@ -9211,6 +9211,7 @@ void Unit::AtEnterCombat()
InterruptNonMeleeSpells(false);
RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags::EnteringCombat);
ProcSkillsAndAuras(nullptr, PROC_FLAG_ENTER_COMBAT, PROC_FLAG_NONE, PROC_SPELL_TYPE_MASK_ALL, PROC_SPELL_PHASE_NONE, PROC_HIT_NONE, nullptr, nullptr, nullptr);
}
void Unit::AtExitCombat()