mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-20 23:11:56 -04:00
Core/Spells: Fixed downranking coefficient penalty formula
Closes #21318
This commit is contained in:
@@ -1013,7 +1013,7 @@ class spell_pri_power_word_shield : public SpellScriptLoader
|
||||
// Improved PW: Shield: its weird having a SPELLMOD_ALL_EFFECTS here but its blizzards doing :)
|
||||
// Improved PW: Shield 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user