mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user