Core/Spells: expand the single target aura system to support a specific amount of targets

* limit Living Bomb targets to three per caster
This commit is contained in:
Ovahlord
2019-05-12 20:03:17 +02:00
parent 3d93df80a6
commit 9bf40cfee4
9 changed files with 101 additions and 66 deletions

View File

@@ -5257,6 +5257,12 @@ void SpellMgr::LoadSpellInfoCorrections()
// END OF BLACKWING DESCENT SPELLS
// Living Bomb
ApplySpellFix({ 44457 }, [](SpellInfo* spellInfo)
{
spellInfo->MaxAuraTargets = 3;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];