Skip to content

Commit

Permalink
fix(Core/Spells): Domination affect max 5 targets (azerothcore#18555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah committed Mar 15, 2024
1 parent 7a7ea27 commit 3bcdc4d
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 @@ -4798,6 +4798,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
});

// Domination
ApplySpellFix({ 37135 }, [](SpellInfo* spellInfo)
{
spellInfo->MaxAffectedTargets = 5;
});

for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];
Expand Down

0 comments on commit 3bcdc4d

Please sign in to comment.