fix(Core/Spells): Banish should only be dispelled by Mass Dispel (#17703)
* fix(Core/Spells): Banish should only be dispelled by Mass Dispel * Update Unit.cpp * Update Unit.cpp
This commit is contained in:
parent
20cde236c7
commit
5a4fdc7de4
4 changed files with 11 additions and 4 deletions
|
|
@ -2574,7 +2574,7 @@ void Spell::EffectDispel(SpellEffIndex effIndex)
|
|||
uint32 dispelMask = SpellInfo::GetDispelMask(DispelType(dispel_type));
|
||||
|
||||
DispelChargesList dispel_list;
|
||||
unitTarget->GetDispellableAuraList(m_caster, dispelMask, dispel_list);
|
||||
unitTarget->GetDispellableAuraList(m_caster, dispelMask, dispel_list, m_spellInfo);
|
||||
if (dispel_list.empty())
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue