mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +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:
|
||||
|
|
|
|||
|
|
@ -1730,6 +1730,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
|||
case SPELLFAMILY_DEATHKNIGHT:
|
||||
if (spellInfo_2->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT)
|
||||
{
|
||||
// Lichborne and Lichborne (triggered)
|
||||
if( spellInfo_1->SpellIconID == 61 && spellInfo_2->SpellIconID == 61 )
|
||||
return false;
|
||||
|
||||
// Frost Presence and Frost Presence (triggered)
|
||||
if( spellInfo_1->SpellIconID == 2632 && spellInfo_2->SpellIconID == 2632 )
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9238"
|
||||
#define REVISION_NR "9239"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue