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

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-07-27 17:32:56 +02:00
1 parent e3ef5da919
commit e8f8b66636
5 files changed
+36

No files matched your search

+13
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