fix(Spells/TempleOfAhnQiraj): Attempt to partly fix Digestive Acid not being applied (#13751)

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp
This commit is contained in:
Gultask
2022-11-09 05:40:34 -03:00
committed by GitHub
parent b129626ee3
commit ff5983cb16

View File

@@ -4427,6 +4427,14 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_CASTER_PROCS;
});
// Digestive Acid (Temporary)
ApplySpellFix({ 26476 }, [](SpellInfo* spellInfo)
{
spellInfo->Attributes |= SPELL_ATTR0_NO_IMMUNITIES;
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];