fix(Core/Spells): Drop combat on Mind Control cancel. (#10201)

Fixes #9980
This commit is contained in:
UltraNix
2022-01-17 02:26:23 +01:00
committed by GitHub
parent b74fb81b8c
commit e842119605
2 changed files with 23 additions and 12 deletions

View File

@@ -1613,6 +1613,7 @@ public:
void ClearInCombat();
void ClearInPetCombat();
[[nodiscard]] uint32 GetCombatTimer() const { return m_CombatTimer; }
void SetCombatTimer(uint32 timer) { m_CombatTimer = timer; }
[[nodiscard]] bool HasAuraTypeWithFamilyFlags(AuraType auraType, uint32 familyName, uint32 familyFlags) const;
[[nodiscard]] bool virtual HasSpell(uint32 /*spellID*/) const { return false; }