mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 19:43:48 +00:00
fix(Core/Spells): Cursed Cauldron gobs despawn after 5 seconds. (#14252)
Fixes #14241
This commit is contained in:
@@ -4448,6 +4448,13 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_TARGET_PROCS;
|
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)
|
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||||
{
|
{
|
||||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user