Core/Auras: Remove m_effIndex member of AuraEffect and always take it from SpellEffectInfo

Port From (https://github.com/TrinityCore/TrinityCore/commit/efdca47aff354079bc73d248e022c2e914d94e7b)
This commit is contained in:
hondacrx
2021-03-15 15:37:07 -04:00
parent 0491a60e48
commit cee1fbe0d2
5 changed files with 15 additions and 18 deletions
+1 -1
View File
@@ -428,7 +428,7 @@ namespace Scripts.Spells.Druid
spellMod.op = SpellModOp.Dot;
spellMod.type = SpellModType.Flat;
spellMod.spellId = GetId();
spellMod.mask = GetSpellInfo().GetEffect(aurEff.GetEffIndex()).SpellClassMask;
spellMod.mask = aurEff.GetSpellEffectInfo().SpellClassMask;
}
spellMod.value = aurEff.GetAmount() / 7;
}