fix(Core/Scripts): Ghaz'an acid spit should hit just one target (#16410)

This commit is contained in:
Angelo Venturini 2023-06-07 11:42:56 -03:00 committed by GitHub
parent 75dbce88bc
commit 3fc0a5b4fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4541,6 +4541,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->MaxAffectedTargets = 1;
});
// Acid Spit
ApplySpellFix({ 34290 }, [](SpellInfo* spellInfo)
{
spellInfo->MaxAffectedTargets = 1;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];