fix(Core/Spells): Glyph of Polymorph should not remove Shadow Word: Death backlash (#25014)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: Vincent-Michael <Vincent_Michael@gmx.de>
This commit is contained in:
blinkysc
2026-03-09 13:32:30 -05:00
committed by GitHub
parent 32f0f236dc
commit 900be15597

View File

@@ -1219,7 +1219,7 @@ class spell_mage_glyph_of_polymorph : public AuraScript
return;
// Remove DoTs from target
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE, ObjectGuid::Empty, nullptr, true);
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE, ObjectGuid::Empty, target->GetAura(32409), true); // SW:D shall not be removed.
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT, ObjectGuid::Empty, nullptr, true);
target->RemoveAurasByType(SPELL_AURA_PERIODIC_LEECH, ObjectGuid::Empty, nullptr, true);
}