aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRat <none@none>2009-08-03 01:17:03 +0200
committerRat <none@none>2009-08-03 01:17:03 +0200
commitb752631040433404d65276f545c28d6583bb57aa (patch)
tree5759dd61508b6a9854895e2daab523265f82b75e /src
parentf166fa145f637e01ca5efd68f495c6dc1b86ca21 (diff)
parentf0857afa46395f6589363b12d38e1899fd408142 (diff)
merge
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index b3b66712e94..88c2e3e07bd 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -944,6 +944,15 @@ void Aura::ApplyAllModifiers(bool apply, bool Real)
void Aura::HandleAuraSpecificMods(bool apply)
{
+ // Glyph of Polymorph ( 56375 - Dot Remover )
+ // Polymorph
+ if (apply && GetCaster()->HasAura(56375) && (m_spellProto->SpellFamilyName == 3 && m_spellProto->SpellFamilyFlags[0] & 0x01000000))
+ {
+ m_target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE);
+ m_target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
+ return;
+ }
+
// Aura Mastery Triggered Spell Handler
// If apply Concentration Aura -> trigger -> apply Aura Mastery Immunity
// If remove Concentration Aura -> trigger -> remove Aura Mastery Immunity