mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +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:
|
case SPELLFAMILY_DEATHKNIGHT:
|
||||||
{
|
{
|
||||||
if (GetSpellSpecific(m_spellProto->Id) != SPELL_PRESENCE)
|
// second part of spell apply
|
||||||
return;
|
switch (GetId())
|
||||||
|
{
|
||||||
// Frost Presence health
|
case 49039: spellId1 = 50397; break; // Lichborne
|
||||||
if (GetId() == 48263)
|
case 48263: spellId1 = 61261; break; // Frost Presence
|
||||||
spellId1 = 61261;
|
case 48265: spellId1 = 49772; break; // Unholy Presence move speed
|
||||||
// Unholy Presence move speed
|
default: return;
|
||||||
else if (GetId() == 48265)
|
}
|
||||||
spellId1 = 49772;
|
|
||||||
else
|
|
||||||
return;
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
|
|
@ -1730,6 +1730,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
||||||
case SPELLFAMILY_DEATHKNIGHT:
|
case SPELLFAMILY_DEATHKNIGHT:
|
||||||
if (spellInfo_2->SpellFamilyName == 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)
|
// Frost Presence and Frost Presence (triggered)
|
||||||
if( spellInfo_1->SpellIconID == 2632 && spellInfo_2->SpellIconID == 2632 )
|
if( spellInfo_1->SpellIconID == 2632 && spellInfo_2->SpellIconID == 2632 )
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9238"
|
#define REVISION_NR "9239"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue