diff options
author | Nevan <none@none> | 2009-08-03 08:56:18 +0200 |
---|---|---|
committer | Nevan <none@none> | 2009-08-03 08:56:18 +0200 |
commit | 1b6057ec512005856f81f1dc3e801bc0c6f452af (patch) | |
tree | db28fce0e16b6fd44d8c409ff643dfb4ee280446 | |
parent | 5461999e655e514b967d78ef918895f75759eb45 (diff) |
*Fix Glyph of Fireball
*Fix Glyph of Frostbolt
--HG--
branch : trunk
-rw-r--r-- | src/game/SpellAuras.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 2dd6a3cd921..8da70ef41fb 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -944,6 +944,14 @@ void Aura::ApplyAllModifiers(bool apply, bool Real) void Aura::HandleAuraSpecificMods(bool apply) { + // Glyph of Fireball + if ((apply) && (GetCaster()->HasAura(56368)) && (m_spellProto->SpellFamilyName == SPELLFAMILY_MAGE && m_spellProto->SpellFamilyFlags[0] & 0x00000001 && m_spellProto->SpellFamilyFlags[2] & 0x00000008)) + SetAuraDuration(0); + + // Glyph of Frostbolt + if ((apply) && (GetCaster()->HasAura(56370)) && ((m_spellProto->SpellFamilyName == SPELLFAMILY_MAGE) && (m_spellProto->SpellFamilyFlags[0] & 0x00000020) && (m_spellProto->SpellVisual[0] == 13))) + SetAuraDuration(0); + // Polymorph - Glyphs && Sound if (apply && m_spellProto->SpellFamilyName == SPELLFAMILY_MAGE && m_spellProto->SpellFamilyFlags[0] & 0x01000000) { |