aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNevan <none@none>2009-08-03 00:46:16 +0200
committerNevan <none@none>2009-08-03 00:46:16 +0200
commitf0857afa46395f6589363b12d38e1899fd408142 (patch)
tree09b6e405e7be65393eac75671edca422a3670a1a /src
parent249b2e43819e7e87c78657cf00227a7a9fe12c49 (diff)
*Fix Glyph of Polymorph
--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..87bb8b326a7 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