mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-15 13:35:08 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user