Core/Spells: Fixed downranking coefficient penalty formula

Closes #21318
This commit is contained in:
Shauren
2018-01-27 12:19:18 +01:00
parent 275c17b4c2
commit 2ab4e6c7aa
6 changed files with 14 additions and 22 deletions
+1 -1
View File
@@ -1919,7 +1919,7 @@ class spell_pal_sacred_shield : public SpellScriptLoader
// Divine Guardian is only applied at the spell healing bonus because it was already applied to the base value in CalculateSpellDamage
bonus = caster->ApplyEffectModifiers(GetSpellInfo(), aurEff->GetEffIndex(), bonus);
bonus *= caster->CalculateLevelPenalty(GetSpellInfo());
bonus *= caster->CalculateSpellpowerCoefficientLevelPenalty(GetSpellInfo());
amount += int32(bonus);