Skip to content

修复培养目标优先级并避免体力计划抢先执行 - #1160

Open
henry3218 wants to merge 1 commit into
moesnow:mainfrom
henry3218:agent/build-target-priority-clean
Open

修复培养目标优先级并避免体力计划抢先执行#1160
henry3218 wants to merge 1 commit into
moesnow:mainfrom
henry3218:agent/build-target-priority-clean

Conversation

@henry3218

Copy link
Copy Markdown
Contributor

修改内容

  • 清体力时先解析培养目标,只有没有选出培养目标副本时才执行体力计划。
  • 即使「饰品提取」排在材料副本之前,也会继续扫描全部培养目标。
  • 不再依赖游戏界面的显示顺序,优先执行拟造花萼、凝滞虚影等角色和光锥材料副本。
  • 当培养目标仅包含侵蚀隧洞和/或饰品提取时,仍保留原有的自定义副本回退逻辑。

问题原因

Power.run() 原本会在解析培养目标之前先执行体力计划。同时,DefaultHandler.collect() 识别到饰品提取后就会停止继续扫描。新版游戏界面可能把饰品提取显示在清单前方,导致后面的材料副本没有被收集,程序因而误判为培养目标只包含侵蚀隧洞/饰品提取,并错误回退到用户配置的体力计划。

验证

  • 培养目标优先级及体力计划相关测试已通过。
  • 相同提交已通过 Windows、macOS、Linux 测试及完整建置;新 PR 将重新执行全部 GitHub Actions 检查。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant