mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[8335] Restore spell 19574 and 34471 addtional effects work after [8330].
Also simplify spell 61846 and ranks check in HandleSpellSpecificBoosts.
This commit is contained in:
parent
fe4b057dc2
commit
556c817865
2 changed files with 5 additions and 9 deletions
|
|
@ -5544,23 +5544,19 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
|
|||
}
|
||||
case SPELLFAMILY_HUNTER:
|
||||
{
|
||||
if(GetSpellSpecific(m_spellProto->Id) != SPELL_ASPECT)
|
||||
return;
|
||||
|
||||
// Aspect of the Dragonhawk dodge
|
||||
if (GetSpellProto()->SpellFamilyFlags2 & 0x00001000)
|
||||
spellId1 = 61848;
|
||||
// The Beast Within and Bestial Wrath - immunity
|
||||
else if (GetId() == 19574 || GetId() == 34471)
|
||||
if (GetId() == 19574 || GetId() == 34471)
|
||||
{
|
||||
spellId1 = 24395;
|
||||
spellId2 = 24396;
|
||||
spellId3 = 24397;
|
||||
spellId4 = 26592;
|
||||
}
|
||||
// Aspect of the Dragonhawk dodge
|
||||
else if(GetSpellProto()->SpellFamilyFlags2 & 0x00001000)
|
||||
spellId1 = 61848;
|
||||
else
|
||||
return;
|
||||
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_PALADIN:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8334"
|
||||
#define REVISION_NR "8335"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue