aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-21 18:30:06 +0100
committerQAston <none@none>2009-03-21 18:30:06 +0100
commit5d8ef964cb89cf7f7da6fe56af0e7d090e8e1200 (patch)
treef8344bfadebdd996457e1e31319efdd761751e83 /src/game/SpellEffects.cpp
parent1cae82a153135d223203866d3f9ce2ddc5a7fbe6 (diff)
*Fix Divine Storm.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp6
1 files changed, 6 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)