From 1c1c38ae97855b2958b239c1f3e0dd712b54dfbb Mon Sep 17 00:00:00 2001 From: Giacomo Pozzoni Date: Sat, 2 Oct 2021 16:33:38 +0200 Subject: Skip proccing Sheath of Light when at full health (#26987) --- src/server/scripts/Spells/spell_paladin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 2f893681b7e..5f7f1303ca2 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -1843,7 +1843,7 @@ class spell_pal_sheath_of_light : public AuraScript PreventDefaultAction(); HealInfo* healInfo = eventInfo.GetHealInfo(); - if (!healInfo || !healInfo->GetHeal()) + if (!healInfo || !healInfo->GetEffectiveHeal()) return; Unit* caster = eventInfo.GetActor(); -- cgit v1.2.3