fix(Scripts/Raids): some corrections to Broodlord Supression Room: (#10834)

Supression traps should always hit players.
Supression traps should not be disarmed after Broodlord defeat.
Supression traps should be visible after disarm.
Fixes #10768
This commit is contained in:
UltraNix
2022-03-03 11:29:31 +01:00
committed by GitHub
parent d682398942
commit e4d3f57d7c
3 changed files with 11 additions and 20 deletions

View File

@@ -4204,6 +4204,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx |= SPELL_ATTR1_EXCLUDE_CASTER;
});
// Suppression Aura
ApplySpellFix({ 22247 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];