*Fix misdirection.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-17 20:07:25 -06:00
parent 5244d4986a
commit ac5bf63acd
6 changed files with 35 additions and 10 deletions
+7 -9
View File
@@ -1973,21 +1973,19 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
return;
}
// Dark Fiend
if(GetId()==45934)
{
// Kill target if dispelled
if (m_removeMode==AURA_REMOVE_BY_DISPEL)
m_target->DealDamage(m_target, m_target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
return;
}
// Burning Winds
if(GetId()==46308) // casted only at creatures at spawn
{
m_target->CastSpell(m_target,47287,true,NULL,this);
return;
}
// Misdirection
if(GetId()==34477)
{
m_target->SetReducedThreatPercent(0, 0);
return;
}
}
// AT APPLY & REMOVE