[8910] Implement spell 62124 damage part.

This commit is contained in:
VladimirMangos 2009-12-03 02:03:01 +03:00
parent 08c9f0a267
commit 94147f2b5a
3 changed files with 12 additions and 2 deletions

View file

@ -2532,8 +2532,14 @@ void Spell::cast(bool skipCheck)
break;
case SPELLFAMILY_PALADIN:
{
// Hand of Reckoning
if (m_spellInfo->Id == 62124)
{
if (m_targets.getUnitTarget() && m_targets.getUnitTarget()->getVictim() != m_caster)
AddPrecastSpell(67485); // Hand of Rekoning (no typos in name ;) )
}
// Divine Shield, Divine Protection or Hand of Protection
if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000400080))
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000400080))
{
AddPrecastSpell(25771); // Forbearance
AddPrecastSpell(61987); // Avenging Wrath Marker