mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 07:06:23 +00:00
fix(SmartAI): Ensure immediate combat engagement (#21854)
NPCs will stop their current waypoint and start combat.
This commit is contained in:
@@ -848,6 +848,7 @@ void SmartAI::AttackStart(Unit* who)
|
||||
{
|
||||
me->GetMotionMaster()->MovementExpired();
|
||||
me->StopMoving();
|
||||
me->GetMotionMaster()->Clear(false);
|
||||
}
|
||||
|
||||
me->GetMotionMaster()->MoveChase(who);
|
||||
|
||||
Reference in New Issue
Block a user