mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
[9239] Apply second part of spell 50397.
This commit is contained in:
parent
1d305e51d8
commit
40c1e6e772
3 changed files with 13 additions and 13 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue