mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
[7008] Remove not used in 303 aura states from code
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
48d6043eed
commit
dc8649a86a
6 changed files with 14 additions and 88 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue