aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp6
-rw-r--r--src/game/SpellMgr.cpp1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 97a5418c3e1..0a1b764a4d1 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1620,6 +1620,12 @@ void Spell::EffectDummy(uint32 i)
case SPELLFAMILY_PALADIN:
switch(m_spellInfo->SpellIconID)
{
+ // Divine Storm
+ if (m_spellInfo->SpellFamilyFlags[1] & 0x20000)
+ {
+ m_caster->CastCustomSpell(unitTarget, 54172, m_currentBasePoints[0] * damage /100, 0, 0, true);
+ return;
+ }
case 156: // Holy Shock
{
if(!unitTarget)
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 35e2cc197f4..8b3f8345661 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2344,6 +2344,7 @@ void SpellMgr::LoadSpellCustomAttr()
case 46771: //Flame Sear
case 45248: //Shadow Blades
case 41303: // Soul Drain
+ case 54172: // Divine Storm (heal)
spellInfo->MaxAffectedTargets = 3;
break;
case 38310: //Multi-Shot