From e8f8b66636cbcd5d9995ce8b3bb64afb5a835851 Mon Sep 17 00:00:00 2001 From: QAston Date: Mon, 27 Jul 2009 17:32:56 +0200 Subject: *Implement immunity removal part for Shattering Throw ability - by thenecromancer. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/game/SpellEffects.cpp') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index f36d7048efe..25ea3015f41 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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<