P0-1 补齐镜牢商店必买/必卖/公式合成清单
上游 ebb6629 把图片挪到 assets/images/<主题>/<语言>/ 下, tasks/mirror/__init__.py 仍按 ./assets/images/share/... 列目录,三个 清单恒为空:11-14 实测进店 51 秒一件没买,弃用饰品识别和公式合成 一起空转。按名字找图的 path_manager 那层没坏。 install_shop_lists() 在 mirror/all 任务里按 AALC 六个图片根合并去重, 原地 extend 三个列表(in_shop 在导入时绑定了列表对象,重新赋值无效); 上游清单已非空时不动,不改 vendor。 验证:执行上游真实 __init__.py 得到 0/0/0,补丁后 5/19/31,且每个 图片名都能在某个图片根下找到;全套 514 项通过。实机待看补丁日志与 进店后的购买动作。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-2
@@ -13,8 +13,8 @@ from . import killswitch, preflight
|
|||||||
from .aalc_engine import bootstrap
|
from .aalc_engine import bootstrap
|
||||||
from .aalc_patches import (WindowGuard, driver_click_tasks, headless_hdr_warning,
|
from .aalc_patches import (WindowGuard, driver_click_tasks, headless_hdr_warning,
|
||||||
install_default_battle_team, install_exact_team_match,
|
install_default_battle_team, install_exact_team_match,
|
||||||
install_robust_set_foreground, install_system_team_selection,
|
install_robust_set_foreground, install_shop_lists,
|
||||||
mirror_progress, stop_driver_click)
|
install_system_team_selection, mirror_progress, stop_driver_click)
|
||||||
from .game_lock import GameBusyError, exclusive_game
|
from .game_lock import GameBusyError, exclusive_game
|
||||||
|
|
||||||
# 任务 -> {参数名: AALC 配置项}; 参数只在本次运行内生效
|
# 任务 -> {参数名: AALC 配置项}; 参数只在本次运行内生效
|
||||||
@@ -127,6 +127,7 @@ def _run(task, params):
|
|||||||
# 镜牢: 编队是自定义名字(体系名), AALC 只会找 "编队#N"; 改成按体系名点选。
|
# 镜牢: 编队是自定义名字(体系名), AALC 只会找 "编队#N"; 改成按体系名点选。
|
||||||
if task in ('mirror', 'all'):
|
if task in ('mirror', 'all'):
|
||||||
install_system_team_selection(log=log)
|
install_system_team_selection(log=log)
|
||||||
|
install_shop_lists(log=log)
|
||||||
guard = WindowGuard(screen, cfg, log=log)
|
guard = WindowGuard(screen, cfg, log=log)
|
||||||
guard.start()
|
guard.start()
|
||||||
restore_path = os.environ.get(RESTORE_ENV)
|
restore_path = os.environ.get(RESTORE_ENV)
|
||||||
|
|||||||
Reference in New Issue
Block a user