fix(Core/Spells): Fixed pet swoop ability not rooting target (#21559)
Co-authored-by: pavel_k <pavel_k@mail.com>
This commit is contained in:
parent
e31674045b
commit
826b55dffb
@ -4892,6 +4892,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->AttributesEx2 &= ~SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
|
||||
});
|
||||
|
||||
// Swoop (Moth hunter pet) root effect fix
|
||||
ApplySpellFix({ 52825 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Effects[EFFECT_2].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_TARGET_ENEMY);
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user