fix(Core/Spells): do not attack focus target while charging (#7235)
- Closes #6721
This commit is contained in:
parent
ecc9742b0f
commit
d356767432
1 changed files with 1 additions and 1 deletions
|
|
@ -5083,7 +5083,7 @@ void Spell::EffectCharge(SpellEffIndex /*effIndex*/)
|
|||
}
|
||||
|
||||
// not all charge effects used in negative spells
|
||||
if (!m_spellInfo->IsPositive() && m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||
if (!m_spellInfo->IsPositive() && m_caster->GetTypeId() == TYPEID_PLAYER && m_caster->GetTarget() == unitTarget->GetGUID())
|
||||
m_caster->Attack(unitTarget, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue