fix(Core/Scripting): Fix healing reduction abilities not applying cor… (#10435)

This commit is contained in:
Skjalf
2022-01-31 00:56:40 -03:00
committed by GitHub
parent 1a7785407b
commit 4df8b23c5f
3 changed files with 5 additions and 5 deletions

View File

@@ -11979,8 +11979,8 @@ uint32 Unit::SpellHealingBonusTaken(Unit* caster, SpellInfo const* spellProto, u
{
float TakenTotalMod = 1.0f;
float minval = 0.0f;
// Healing taken percent
// Healing taken percent
if (!sScriptMgr->OnSpellHealingBonusTakenNegativeModifiers(this, caster, spellProto, minval))
{
minval = float(GetMaxNegativeAuraModifier(SPELL_AURA_MOD_HEALING_PCT));