fix(Core/Spells): Feed Pet should not interrupt eating/drinking. (#12817)

Fixes #12634
This commit is contained in:
UltraNix
2022-08-27 18:23:50 +02:00
committed by GitHub
parent 9a2e3fdbe6
commit 8439ce9920

View File

@@ -4367,6 +4367,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_TARGET_PROCS;
});
// Feed Pet
ApplySpellFix({ 1539, 51284 }, [](SpellInfo* spellInfo)
{
spellInfo->Attributes |= SPELL_ATTR0_ALLOW_WHILE_SITTING;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];