[8093] Fixed effect of spell 25771.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-05-22 19:31:55 +02:00
parent f80f45e3c4
commit cd913c1f92
2 changed files with 7 additions and 1 deletions

View file

@ -3966,6 +3966,12 @@ void Aura::HandleModMechanicImmunity(bool apply, bool /*Real*/)
uint32 misc = m_modifier.m_miscvalue;
Unit* target = m_target;
// Forbearance
// in DBC wrong mechanic immune since 3.0.x
if (GetId() == 25771)
misc = MECHANIC_IMMUNE_SHIELD;
if(apply && spellInfo->AttributesEx & SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY)
{
uint32 mechanic = 1 << m_modifier.m_miscvalue;