Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower

This commit is contained in:
Shauren
2020-06-12 01:29:18 +02:00
parent 1cdd1d0249
commit c7306439e7
101 changed files with 1631 additions and 1796 deletions
+1 -1
View File
@@ -539,7 +539,7 @@ void Player::UpdateMastery()
{
if (Aura* aura = GetAura(chrSpec->MasterySpellID[i]))
{
for (SpellEffectInfo const* effect : aura->GetSpellEffectInfos())
for (SpellEffectInfo const* effect : aura->GetSpellInfo()->GetEffects())
{
if (!effect)
continue;