*Fix Divine Storm.
--HG-- branch : trunk
This commit is contained in:
@@ -1620,6 +1620,12 @@ void Spell::EffectDummy(uint32 i)
|
|||||||
case SPELLFAMILY_PALADIN:
|
case SPELLFAMILY_PALADIN:
|
||||||
switch(m_spellInfo->SpellIconID)
|
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
|
case 156: // Holy Shock
|
||||||
{
|
{
|
||||||
if(!unitTarget)
|
if(!unitTarget)
|
||||||
|
|||||||
@@ -2344,6 +2344,7 @@ void SpellMgr::LoadSpellCustomAttr()
|
|||||||
case 46771: //Flame Sear
|
case 46771: //Flame Sear
|
||||||
case 45248: //Shadow Blades
|
case 45248: //Shadow Blades
|
||||||
case 41303: // Soul Drain
|
case 41303: // Soul Drain
|
||||||
|
case 54172: // Divine Storm (heal)
|
||||||
spellInfo->MaxAffectedTargets = 3;
|
spellInfo->MaxAffectedTargets = 3;
|
||||||
break;
|
break;
|
||||||
case 38310: //Multi-Shot
|
case 38310: //Multi-Shot
|
||||||
|
|||||||
Reference in New Issue
Block a user