[9239] Apply second part of spell 50397.

This commit is contained in:
VladimirMangos 2010-01-23 00:58:39 +03:00
parent 1d305e51d8
commit 40c1e6e772
3 changed files with 13 additions and 13 deletions

View file

@ -6186,18 +6186,14 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
}
case SPELLFAMILY_DEATHKNIGHT:
{
if (GetSpellSpecific(m_spellProto->Id) != SPELL_PRESENCE)
return;
// Frost Presence health
if (GetId() == 48263)
spellId1 = 61261;
// Unholy Presence move speed
else if (GetId() == 48265)
spellId1 = 49772;
else
return;
// second part of spell apply
switch (GetId())
{
case 49039: spellId1 = 50397; break; // Lichborne
case 48263: spellId1 = 61261; break; // Frost Presence
case 48265: spellId1 = 49772; break; // Unholy Presence move speed
default: return;
}
break;
}
default: