fix(Core/Spells): Add ignore LOS to Tidal Wave (#17979)

This commit is contained in:
Angelo Venturini
2023-12-10 20:30:28 -03:00
committed by GitHub
parent 310dd3137c
commit 36109628a9

View File

@@ -4638,6 +4638,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Attributes |= SPELL_ATTR0_NO_AURA_CANCEL;
});
// Tidal Wave
ApplySpellFix({ 37730 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];