Core/Spells: Implemented spell level scaling

This commit is contained in:
Shauren
2012-08-17 00:10:19 +02:00
parent 69c74bb3c5
commit f447403f6c
6 changed files with 82 additions and 38 deletions
+1 -1
View File
@@ -997,7 +997,7 @@ bool Guardian::UpdateStats(Stats stat)
if (aurEff)
{
SpellInfo const* spellInfo = aurEff->GetSpellInfo(); // Then get the SpellProto and add the dummy effect value
AddPctN(mod, spellInfo->Effects[EFFECT_1].CalcValue()); // Ravenous Dead edits the original scale
AddPctN(mod, spellInfo->Effects[EFFECT_1].CalcValue(owner)); // Ravenous Dead edits the original scale
}
// Glyph of the Ghoul
aurEff = owner->GetAuraEffect(58686, 0);