fix(Core/Spells): Domination affect max 5 targets (#18555)

This commit is contained in:
Andrew 2024-03-15 04:20:51 -03:00 committed by GitHub
parent 7a7ea27293
commit 3bcdc4d23e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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];