*Implement immunity removal part for Shattering Throw ability - by thenecromancer.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-27 17:32:56 +02:00
parent e3ef5da919
commit e8f8b66636
5 changed files with 36 additions and 0 deletions

View File

@@ -5480,6 +5480,19 @@ void Spell::EffectScriptEffect(uint32 effIndex)
}
break;
}
case SPELLFAMILY_WARRIOR:
{
// Shattering Throw
if ( m_spellInfo->SpellFamilyFlags[1] & 0x1 )
{
if(!unitTarget)
return;
// remove shields, will still display immune to damage part
unitTarget->RemoveAurasWithMechanic(1<<MECHANIC_IMMUNE_SHIELD);
return;
}
break;
}
}
// normal DB scripted effect