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

@@ -1530,7 +1530,7 @@ public:
virtual bool OnIsAffectedBySpellModCheck(SpellInfo const* /*affectSpell*/, SpellInfo const* /*checkSpell*/, SpellModifier const* /*mod*/) { return true; };
// Called when checking for spell negative healing modifiers
virtual bool OnSpellHealingBonusTakenNegativeModifiers(Unit const* /*target*/, Unit const* /*caster*/, SpellInfo const* /*spellInfo*/, float& /*val*/) { return true; };
virtual bool OnSpellHealingBonusTakenNegativeModifiers(Unit const* /*target*/, Unit const* /*caster*/, SpellInfo const* /*spellInfo*/, float& /*val*/) { return false; };
};
class BGScript : public ScriptObject