From d8bc1d179716a4f8c9dcccd3edb271fa0eb332bf Mon Sep 17 00:00:00 2001 From: Tereneckla Date: Wed, 30 Apr 2025 01:17:45 +0000 Subject: [PATCH] fix(Script/Spell) exclude original target from glyph of holy light (#22002) Glyph of Holy Light no longer applies (10%) to the target --- src/server/scripts/Spells/spell_paladin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 04a596c61..e2350a2c8 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -679,8 +679,9 @@ class spell_pal_glyph_of_holy_light : public SpellScript void FilterTargets(std::list& targets) { - uint32 const maxTargets = GetSpellInfo()->MaxAffectedTargets; + targets.remove(GetExplTargetUnit()); + uint32 const maxTargets = GetSpellInfo()->MaxAffectedTargets; if (targets.size() > maxTargets) { targets.sort(Acore::HealthPctOrderPred());