[7008] Remove not used in 303 aura states from code

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-01-02 23:19:41 +03:00
parent 48d6043eed
commit dc8649a86a
6 changed files with 14 additions and 88 deletions

View file

@ -2196,12 +2196,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:
@ -3843,17 +3837,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()->SpellIconID == 1680)
{