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.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 696071dec97..89e53ed566b 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4933,6 +4933,26 @@ void Spell::EffectScriptEffect(uint32 effIndex)
return;
}
+ case 58941: // Rock Shards
+ if(unitTarget && m_originalCaster)
+ {
+ for(uint32 i = 0; i < 5; ++i)
+ {
+ m_originalCaster->CastSpell(unitTarget, 58689, true);
+ m_originalCaster->CastSpell(unitTarget, 58692, true);
+ }
+ if(m_originalCaster->GetMap()->IsHeroic())
+ {
+ m_originalCaster->CastSpell(unitTarget, 60883, true);
+ m_originalCaster->CastSpell(unitTarget, 60884, true);
+ }
+ else
+ {
+ m_originalCaster->CastSpell(unitTarget, 58695, true);
+ m_originalCaster->CastSpell(unitTarget, 58696, true);
+ }
+ }
+ return;
case 59317: // Teleporting
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;