mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user