diff options
author | DanVS <33371360+DanVS@users.noreply.github.com> | 2017-11-04 18:09:18 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-11-04 17:09:18 +0100 |
commit | 654b89ef026ba76abad4a566c0924180a24b9dc7 (patch) | |
tree | 91519e3cb03bfc12e1c27b1f5ead67bd255002f1 | |
parent | 6612ec47f4cd3b8c58f3fcde0c412e6fd3e68b48 (diff) |
Core/Spells: Sheath of Light - overheal scaling fix (#20787)
-rw-r--r-- | src/server/scripts/Spells/spell_paladin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 3e371586175..28455808c01 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -2223,7 +2223,7 @@ class spell_pal_sheath_of_light : public SpellScriptLoader Unit* target = eventInfo.GetProcTarget(); SpellInfo const* spellInfo = sSpellMgr->AssertSpellInfo(SPELL_PALADIN_SHEATH_OF_LIGHT_HEAL); - int32 amount = CalculatePct(static_cast<int32>(healInfo->GetHeal()), aurEff->GetAmount()); + int32 amount = CalculatePct(static_cast<int32>(healInfo->GetEffectiveHeal()), aurEff->GetAmount()); amount /= spellInfo->GetMaxTicks(); // Add remaining ticks to healing done amount += target->GetRemainingPeriodicAmount(caster->GetGUID(), SPELL_PALADIN_SHEATH_OF_LIGHT_HEAL, SPELL_AURA_PERIODIC_HEAL); |