[8228] Implement talent 49203 (main functionality).

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
raftom 2009-07-22 10:01:45 +04:00 committed by VladimirMangos
parent 6170497643
commit c4ceafcf56
3 changed files with 10 additions and 2 deletions

View file

@ -1835,7 +1835,7 @@ void Spell::EffectDummy(uint32 i)
break;
case SPELLFAMILY_DEATHKNIGHT:
// Death Coil
if(m_spellInfo->SpellFamilyFlags & UI64LIT(0x002000))
if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x002000))
{
if(m_caster->IsFriendlyTo(unitTarget))
{
@ -1852,6 +1852,12 @@ void Spell::EffectDummy(uint32 i)
}
return;
}
// Hungering Cold
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000100000000000))
{
m_caster->CastSpell(m_caster, 51209, true);
return;
}
break;
}