diff --git a/auto_bot_move.py b/auto_bot_move.py index 0677ffa..9ce9ed9 100644 --- a/auto_bot_move.py +++ b/auto_bot_move.py @@ -764,6 +764,11 @@ class AutoBotMove: if self._was_in_combat_or_target: # 此时已彻底脱战,执行拾取 self.execute_disengage_loot() + current_pos = None + if state.get('x') is not None and state.get('y') is not None: + current_pos = (state.get('x'), state.get('y')) + if current_pos is not None: + self.patrol_controller.snap_to_forward_waypoint(current_pos) # 扫尾动作执行完后,本 tick 强制结束,防止立即按下 Tab self._was_in_combat_or_target = False