diff options
author | Treeston <treeston.mmoc@gmail.com> | 2020-10-13 23:44:37 +0200 |
---|---|---|
committer | Treeston <treeston.mmoc@gmail.com> | 2020-10-13 23:44:37 +0200 |
commit | 684910a230b2e8e780ad24bc0c4eece835bc249a (patch) | |
tree | c14382ae035504a523af9548877fa27f11a97abc /src | |
parent | 3c0766df545f4c2d2d045272f37087deccea458d (diff) |
AI/CreatureAI: Properly update Victim even while spell focusing
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/CreatureAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index 0a3b87efd30..08f98a3aa68 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -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; |