fix(Core/Spells): Spotlight having a duration (#17799)

This commit is contained in:
avarishd
2023-11-20 09:38:59 +02:00
committed by GitHub
parent a8bfd66e9a
commit d5f03f0ef4

View File

@@ -4620,6 +4620,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_TARGET_ANY);
});
// Spotlight
ApplySpellFix({ 29683, 32214 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx5 |= SPELL_ATTR5_DO_NOT_DISPLAY_DURATION;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];