aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorNevan <none@none>2009-08-03 19:19:58 +0200
committerNevan <none@none>2009-08-03 19:19:58 +0200
commit044b8b44a3efc5332f22be9d34ebdeee1ea49634 (patch)
treeb8b4e63649efe87d8caab89e87121f530bcec23b /src/game/SpellAuras.cpp
parent7569bb343a532ca6d080ad48bcb8275b3a182ddb (diff)
*Moved Glyph of Polymorph in Unit::HandleDummyAuraProc
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index cf83353f062..9c202b8307c 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -965,15 +965,9 @@ void Aura::HandleAuraSpecificMods(bool apply)
// Todo: This should be moved to similar function in spell::hit
else if (m_spellProto->SpellFamilyFlags[0] & 0x01000000)
{
- // Glyph of Polymorph
Unit * caster = GetCaster();
if (!caster)
return;
- if (caster->HasAura(56375))
- {
- m_target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE);
- m_target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
- }
// Polymorph Sound - Sheep && Penguin
if (m_spellProto->SpellIconID == 82 && m_spellProto->SpellVisual[0] == 12978)