fix(Spell/SpellCorrection): Brood Power Bronze should only affect a single target (#11367)

Co-Authored-By: temperrr <temperrr@users.noreply.github.com>

Co-authored-by: temperrr <temperrr@users.noreply.github.com>
This commit is contained in:
Skjalf
2022-04-11 13:48:10 -03:00
committed by GitHub
parent f124ae14a9
commit ab990647e3

View File

@@ -4242,6 +4242,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
});
// Brood Power Bronze
ApplySpellFix({ 22291 }, [](SpellInfo* spellInfo)
{
spellInfo->MaxAffectedTargets = 1;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];