fix(Core/Spell): Implement SPELL_ATTR6_NO_PUSHBACK (#19292)

fix(Core/Spell): ImplementSPELL_ATTR6_NO_PUSHBACK
This commit is contained in:
avarishd
2024-07-17 15:09:34 +03:00
committed by GitHub
parent ca70459f05
commit cf7c015ea4
4 changed files with 14 additions and 2 deletions

View File

@@ -4815,6 +4815,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_TARGET_PROCS;
});
// Shadow Grasp
ApplySpellFix({ 30410 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx6 |= SPELL_ATTR6_NO_PUSHBACK;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];