Skip to content

Commit

Permalink
fix(Core/Spells): Spotlight having a duration (#17799)
Browse files Browse the repository at this point in the history
  • Loading branch information
avarishd committed Nov 20, 2023
1 parent a8bfd66 commit d5f03f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/game/Spells/SpellInfoCorrections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit d5f03f0

Please sign in to comment.