fix(Core/Spell) Green Beam spells should only hit one target (#9593)
* fix(Core/Spell) Green Beam spells should only hit one target * Update SpellMgr.cpp Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
This commit is contained in:
parent
7bc8b48a06
commit
e8481791e0
1 changed files with 7 additions and 0 deletions
|
|
@ -7514,6 +7514,13 @@ void SpellMgr::LoadDbcDataCorrections()
|
|||
spellInfo->Effect[EFFECT_1] = 0;
|
||||
});
|
||||
|
||||
// Green Beam
|
||||
ApplySpellFix({31628, 31630, 31631}, [](SpellEntry* spellInfo)
|
||||
{
|
||||
spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_TARGET_ANY;
|
||||
spellInfo->MaxAffectedTargets = 1;
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
|
||||
{
|
||||
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue