From eac6cdd5e06c59b55951ad113c427169fe2fa26f Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Mon, 26 Apr 2021 13:38:41 +0200 Subject: [PATCH] fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE to Faerie Fire (#5319) --- src/server/game/Spells/SpellInfo.cpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 0513b2115..06fae577d 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -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; }