refactor(Scripts/RuinsOfAhnQiraj): Buru eggs (#12822)

This commit is contained in:
Angelo Venturini
2022-08-23 08:01:28 -03:00
committed by GitHub
parent ca9c19ffd4
commit 119a2356a0
5 changed files with 58 additions and 36 deletions

View File

@@ -4354,6 +4354,13 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_1].Effect = 0;
});
// Explosion
ApplySpellFix({ 5255 }, [](SpellInfo* spellInfo)
{
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];