fix(Core/Spell): Target "TARGET_DEST_CHANNEL_TARGET" (#1979)
This commit is contained in:
parent
199216fcf3
commit
8b862c91ca
1 changed files with 5 additions and 0 deletions
|
|
@ -1028,6 +1028,11 @@ void Spell::SelectImplicitChannelTargets(SpellEffIndex effIndex, SpellImplicitTa
|
|||
if (target)
|
||||
m_targets.SetDst(*target);
|
||||
}
|
||||
else if (Spell* channeledSpell = m_originalCaster->GetCurrentSpell(CURRENT_CHANNELED_SPELL))
|
||||
{
|
||||
if (channeledSpell->m_targets.GetUnitTarget())
|
||||
m_targets.SetDst(*channeledSpell->m_targets.GetUnitTarget());
|
||||
}
|
||||
else //if (!m_targets.HasDst())
|
||||
{
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue