[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:
VladimirMangos 2009-08-09 08:23:52 +04:00
parent fe4b057dc2
commit 556c817865
2 changed files with 5 additions and 9 deletions

View file

@ -5544,23 +5544,19 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
} }
case SPELLFAMILY_HUNTER: 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 // The Beast Within and Bestial Wrath - immunity
else if (GetId() == 19574 || GetId() == 34471) if (GetId() == 19574 || GetId() == 34471)
{ {
spellId1 = 24395; spellId1 = 24395;
spellId2 = 24396; spellId2 = 24396;
spellId3 = 24397; spellId3 = 24397;
spellId4 = 26592; spellId4 = 26592;
} }
// Aspect of the Dragonhawk dodge
else if(GetSpellProto()->SpellFamilyFlags2 & 0x00001000)
spellId1 = 61848;
else else
return; return;
break; break;
} }
case SPELLFAMILY_PALADIN: case SPELLFAMILY_PALADIN:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8334" #define REVISION_NR "8335"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__