mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE to Faerie Fire (#5319)
This commit is contained in:
@@ -2021,18 +2021,6 @@ AuraStateType SpellInfo::LoadAuraState() const
|
||||
if (SpellFamilyName == SPELLFAMILY_DRUID && SpellFamilyFlags[0] & 0x400)
|
||||
return AURA_STATE_FAERIE_FIRE;
|
||||
|
||||
// Any Spells that prevent spells can be added here.
|
||||
uint32 StealthPreventionSpellList[] = { 9991, 35331, 9806, 35325 };
|
||||
|
||||
// Goes through each of the spells and identifies them as Stealth Prevention Spell.
|
||||
for (uint32 i = 0; i < sizeof(StealthPreventionSpellList) / sizeof(uint32); i++)
|
||||
{
|
||||
if (Id == StealthPreventionSpellList[i])
|
||||
{
|
||||
return AURA_STATE_FAERIE_FIRE;
|
||||
}
|
||||
}
|
||||
|
||||
// Sting (hunter's pet ability)
|
||||
if (GetCategory() == 1133)
|
||||
return AURA_STATE_FAERIE_FIRE;
|
||||
@@ -2068,6 +2056,12 @@ AuraStateType SpellInfo::LoadAuraState() const
|
||||
case 71465: // Divine Surge
|
||||
case 50241: // Oculus, Drake spell Evasive Maneuvers
|
||||
return AURA_STATE_UNKNOWN22;
|
||||
case 9991: // Touch of Zanzil
|
||||
case 35331: // Black Blood
|
||||
case 9806: // Phantom Strike
|
||||
case 35325: // Glowing Blood
|
||||
case 16498: // Faerie Fire
|
||||
return AURA_STATE_FAERIE_FIRE;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user