diff options
author | QAston <none@none> | 2009-03-21 18:30:06 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-03-21 18:30:06 +0100 |
commit | 5d8ef964cb89cf7f7da6fe56af0e7d090e8e1200 (patch) | |
tree | f8344bfadebdd996457e1e31319efdd761751e83 /src | |
parent | 1cae82a153135d223203866d3f9ce2ddc5a7fbe6 (diff) |
*Fix Divine Storm.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 6 | ||||
-rw-r--r-- | src/game/SpellMgr.cpp | 1 |
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 |