fix(Scripts/SunwellPlateau): Felmyst Strafe strafe spells (#21745)
Co-authored-by: killerwife <killerwife@gmail.com>
This commit is contained in:
parent
90866f1d28
commit
6ed7e0fe5c
3 changed files with 87 additions and 20 deletions
|
|
@ -4885,6 +4885,19 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||
spellInfo->Effects[EFFECT_2].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_TARGET_ENEMY);
|
||||
});
|
||||
|
||||
// Felmyst Strafe (Top)
|
||||
ApplySpellFix({ 45585 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->MaxAffectedTargets = 3;
|
||||
spellInfo->Effects[EFFECT_0].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_70_YARDS);
|
||||
});
|
||||
|
||||
// Felmyst Strafe (Middle, Bottom)
|
||||
ApplySpellFix({ 45633, 45635 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Effects[EFFECT_0].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_70_YARDS);
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue