mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
AI/CreatureAI: Properly update Victim even while spell focusing
This commit is contained in:
@@ -251,7 +251,7 @@ bool CreatureAI::UpdateVictim()
|
||||
if (!me->HasReactState(REACT_PASSIVE))
|
||||
{
|
||||
if (Unit* victim = me->SelectVictim())
|
||||
if (!me->HasSpellFocus() && victim != me->GetVictim())
|
||||
if (victim != me->GetVictim())
|
||||
AttackStart(victim);
|
||||
|
||||
return me->GetVictim() != nullptr;
|
||||
|
||||
Reference in New Issue
Block a user