mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Core/Spells: Begin unifying spell effect access api with master branch
* Introduce SpellInfo::GetEffects and SpellInfo::GetEffect functoins
This commit is contained in:
@@ -6295,7 +6295,7 @@ bool Spell::CheckSpellCancelsAuraEffect(AuraType auraType, uint32* param1) const
|
||||
for (AuraEffect const* aurEff : auraEffects)
|
||||
{
|
||||
SpellInfo const* auraInfo = aurEff->GetSpellInfo();
|
||||
if (m_spellInfo->SpellCancelsAuraEffect(auraInfo, aurEff->GetEffIndex()))
|
||||
if (m_spellInfo->SpellCancelsAuraEffect(aurEff))
|
||||
continue;
|
||||
|
||||
if (param1)
|
||||
|
||||
Reference in New Issue
Block a user