From 5d8ef964cb89cf7f7da6fe56af0e7d090e8e1200 Mon Sep 17 00:00:00 2001 From: QAston Date: Sat, 21 Mar 2009 18:30:06 +0100 Subject: [PATCH] *Fix Divine Storm. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 6 ++++++ src/game/SpellMgr.cpp | 1 + 2 files changed, 7 insertions(+) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 97a5418c3e..0a1b764a4d 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 35e2cc197f..8b3f834566 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