mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[9965] Fixed triggering of spell 55095 by 45524.
(based on insider42's repo commit 90de00d) Signed-off-by: VladimirMangos <vladimir@getmangos.com> It include reverts commit ca99760e884d82219fff63ecf5f2ca87b02b5924 with less clean implemetation. [patch 155] Fixed triggering of spell 55095 by 45524. Patch provided by me (based on commit 90de00d)
This commit is contained in:
parent
8a424642e6
commit
ff9990a777
3 changed files with 8 additions and 9 deletions
|
|
@ -2832,6 +2832,13 @@ void Spell::cast(bool skipCheck)
|
||||||
AddTriggeredSpell(30708); // Totem of Wrath
|
AddTriggeredSpell(30708); // Totem of Wrath
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case SPELLFAMILY_DEATHKNIGHT:
|
||||||
|
{
|
||||||
|
// Chains of Ice
|
||||||
|
if (m_spellInfo->Id == 45524)
|
||||||
|
AddTriggeredSpell(55095); // Frost Fever
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6482,14 +6482,6 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
|
||||||
// second part of spell apply
|
// second part of spell apply
|
||||||
switch (GetId())
|
switch (GetId())
|
||||||
{
|
{
|
||||||
case 45524: // Chains of Ice
|
|
||||||
{
|
|
||||||
if (apply)
|
|
||||||
spellId1 = 55095; // Frost Fever
|
|
||||||
else
|
|
||||||
return;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 49039: spellId1 = 50397; break; // Lichborne
|
case 49039: spellId1 = 50397; break; // Lichborne
|
||||||
|
|
||||||
case 48263: // Frost Presence
|
case 48263: // Frost Presence
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9964"
|
#define REVISION_NR "9965"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue