fix(Core/Spells): Smash Mammoth Trap should open Mammoth Calf's trap. (#12295)

Fixes #12225
This commit is contained in:
UltraNix
2022-07-03 17:20:33 +02:00
committed by GitHub
parent b661fac0bd
commit 7b9a5a676b

View File

@@ -4307,6 +4307,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].MiscValue = 8;
});
// Smash Mammoth Trap
ApplySpellFix({ 46201 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_0].MiscValue = 8;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];