aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp13
1 files changed, 13 insertions, 0 deletions
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<<MECHANIC_IMMUNE_SHIELD);
+ return;
+ }
+ break;
+ }
}
// normal DB scripted effect