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)
|
if (SpellFamilyName == SPELLFAMILY_DRUID && SpellFamilyFlags[0] & 0x400)
|
||||||
return AURA_STATE_FAERIE_FIRE;
|
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)
|
// Sting (hunter's pet ability)
|
||||||
if (GetCategory() == 1133)
|
if (GetCategory() == 1133)
|
||||||
return AURA_STATE_FAERIE_FIRE;
|
return AURA_STATE_FAERIE_FIRE;
|
||||||
@@ -2068,6 +2056,12 @@ AuraStateType SpellInfo::LoadAuraState() const
|
|||||||
case 71465: // Divine Surge
|
case 71465: // Divine Surge
|
||||||
case 50241: // Oculus, Drake spell Evasive Maneuvers
|
case 50241: // Oculus, Drake spell Evasive Maneuvers
|
||||||
return AURA_STATE_UNKNOWN22;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user