diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2021-10-02 16:33:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 16:33:38 +0200 |
commit | 1c1c38ae97855b2958b239c1f3e0dd712b54dfbb (patch) | |
tree | 77d41f4fdc6d8742d546f909416df49226a6f0ae | |
parent | 102e8fb0ee91139cdfd8ad9e5a9a72121a02bd28 (diff) |
Skip proccing Sheath of Light when at full health (#26987)
-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 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(); |