镜牢选队改为按体系名点选;补交接文档、待开发计划与单测
本机账号的编队按体系命名(流血/斩击/突刺/…),AALC 只认 编队#N,导致镜牢永远 报「无法寻得队伍」。新增 install_system_team_selection:按 team_system 映射的 中文队名在列表里精确匹配并点选,点完用顶栏队名确认;失败显式返回 False, 不静默回退到编号(该账号没有 编队#1~#12)。 - lc_mcp/aalc_patches.py: 新增选队补丁与区域/OCR 辅助 - lc_mcp/aalc_task.py: mirror/all 任务挂载该补丁 - tests/test_system_team_selection.py: 15 个用例,不依赖 AALC/Windows - docs/feedback/2026-11-14/: 实测记录 + 云端开发交接文件(含体系队名表) - docs/BACKLOG.md: 待开发计划(商店清单路径 bug、走位降级、三选一按体系等) 单测:460 passed。
This commit is contained in:
+10
-2
@@ -12,8 +12,9 @@ import sys
|
||||
from . import preflight
|
||||
from .aalc_engine import bootstrap
|
||||
from . import killswitch
|
||||
from .aalc_patches import (WindowGuard, driver_click_tasks, install_exact_team_match,
|
||||
install_robust_set_foreground)
|
||||
from .aalc_patches import (WindowGuard, driver_click_tasks, install_default_battle_team,
|
||||
install_exact_team_match, install_robust_set_foreground,
|
||||
install_system_team_selection)
|
||||
|
||||
# 任务 -> {参数名: AALC 配置项}; 参数只在本次运行内生效
|
||||
TASKS = {
|
||||
@@ -89,6 +90,13 @@ def run(task, params):
|
||||
|
||||
install_exact_team_match(auto, log)
|
||||
install_robust_set_foreground(screen, log=log)
|
||||
# 日常本(经验/纽本)不翻队伍列表: 队伍是自定义名字时按名字找必然失败,
|
||||
# 白等 60 秒还会把界面滚乱, 后面 to_battle 就找不到 "进入战斗" 了。
|
||||
if task in ('daily', 'all'):
|
||||
install_default_battle_team(scheme, log=log)
|
||||
# 镜牢: 编队是自定义名字(体系名), AALC 只会找 "编队#N"; 改成按体系名点选。
|
||||
if task in ('mirror', 'all'):
|
||||
install_system_team_selection(log=log)
|
||||
guard = WindowGuard(screen, cfg, log=log)
|
||||
guard.start()
|
||||
restore_path = os.environ.get(RESTORE_ENV)
|
||||
|
||||
Reference in New Issue
Block a user