From b3aa49cbaae6a7cf5b69e56e6a0ddaf9dc9d414e Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 2 Jan 2009 15:47:44 -0600 Subject: *Mangos [7008] Remove not used in 303 aura states from code. By DiSlord. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/game/SpellAuras.cpp') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 2c5003b5673..8497e5f4a5f 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2111,12 +2111,6 @@ void Aura::HandleAuraDummy(bool apply, bool Real) } case SPELLFAMILY_MAGE: { - // Hypothermia - if( GetId()==41425 ) - { - m_target->ModifyAuraState(AURA_STATE_HYPOTHERMIA,apply); - return; - } break; } case SPELLFAMILY_DRUID: @@ -3692,17 +3686,6 @@ void Aura::HandleModMechanicImmunity(bool apply, bool Real) m_target->ApplySpellImmune(GetId(),IMMUNITY_MECHANIC,m_modifier.m_miscvalue,apply); - // special cases - switch(m_modifier.m_miscvalue) - { - case MECHANIC_INVULNERABILITY: - m_target->ModifyAuraState(AURA_STATE_FORBEARANCE,apply); - break; - case MECHANIC_SHIELD: - m_target->ModifyAuraState(AURA_STATE_WEAKENED_SOUL,apply); - break; - } - // Bestial Wrath if ( GetSpellProto()->SpellFamilyName == SPELLFAMILY_HUNTER && GetSpellProto()->Id == 19574) { -- cgit v1.2.3