fix(Core/Spells): Turn the Tables can stack with itself. (#15597)

Fixes #13911
This commit is contained in:
UltraNix 2023-03-29 05:28:56 +02:00 committed by GitHub
parent d87a9dc58f
commit 1160f3bda9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4501,6 +4501,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx |= SPELL_ATTR1_NO_REFLECTION;
});
// Turn the Tables
ApplySpellFix({ 51627, 51628, 51629 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx3 |= SPELL_ATTR3_DOT_STACKING_RULE;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];