fix(Core/SmartScripts): Fixed SMART_ACTION_START_FOLLOW not complet… (#12580)

…ing quests.
This commit is contained in:
UltraNix
2022-08-01 22:53:03 +02:00
committed by GitHub
parent 841e2d81c2
commit f13854cd5e
2 changed files with 7 additions and 1 deletions

View File

@@ -4329,6 +4329,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].SpellClassMask = flag96(0x00000003, 0x00001000);
});
// Find the Ancient Hero: Kill Credit
ApplySpellFix({ 25729 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_0].TargetA = TARGET_UNIT_SUMMONER;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];