fix(Core/Spells): Cursed Cauldron gobs despawn after 5 seconds. (#14252)

Fixes #14241
This commit is contained in:
UltraNix
2022-12-22 07:40:38 +01:00
committed by GitHub
parent b4b49d2a66
commit 3fc22f2ff9

View File

@@ -4448,6 +4448,13 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_TARGET_PROCS;
});
// Summon Cauldron Stuff
ApplySpellFix({ 36549 }, [](SpellInfo* spellInfo)
{
spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(28); // 5 seconds
spellInfo->Effects[EFFECT_0].TargetB = TARGET_DEST_CASTER;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];