Skip to content

Automated PR 2026.08.06 - #1724

Open
github-actions[bot] wants to merge 8 commits into
masterfrom
dev
Open

Automated PR 2026.08.06#1724
github-actions[bot] wants to merge 8 commits into
masterfrom
dev

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Automated PR created by GitHub Actions. Merge dev into master

Summary by Sourcery

将新的换魂流程集成到多个任务中,扩展大蛇流程以在需要时可选触发真大蛇,并为财神新增自动化选项,同时优化 UI 资源定义与配置。

New Features:

  • 添加用于进入和退出式神录界面的共享导航辅助方法,供换魂逻辑使用。
  • 使羁绊童话乐园流程能够根据配置在搜索与捕获阶段自动切换魂组预设。
  • 为财神千事引入可选的“赚银币”流程,用于借用式神、配置式神、领取奖励并退出。
  • 允许大蛇任务在遭遇到真大蛇时可选地检测并安排后续的真大蛇任务。
  • 添加配置开关,用于启用大蛇真大蛇检测、财神图鉴自动购买以及千事“赚银币”行为。

Bug Fixes:

  • 修复账号切换中的服务器选择检查标识,改为使用正确的 OCR 键值。
  • 调整财神刻度以及通用购买弹窗的多处图片和 OCR 区域,以更好匹配当前 UI 布局。

Enhancements:

  • 优化英雄试炼的技能选择循环,引入超时与安全检查,以处理技能面板意外关闭的情况。
  • 暴露一个用于进入式神录的通用图片资源,使换魂导航更加可复用。
  • 扩展财神刻度的购买逻辑,可选地复用通用多重购买辅助方法来购买图鉴碎片,而不是仅使用海域专用版本。
Original summary in English

Summary by Sourcery

Integrate new soul-switching flows into multiple tasks, extend Orochi runs to optionally trigger TrueOrochi, and add new RichMan automation options while refining UI asset definitions and configs.

New Features:

  • Add shared navigation helpers for entering and exiting the shikigami records UI used by soul switching logic.
  • Enable Bondling Fairyland flows to automatically switch soul presets for search and capture phases based on configuration.
  • Introduce an optional "Earn Money" flow for RichMan Thousand Things to borrow shikigami, configure them, claim rewards, and exit.
  • Allow Orochi runs to optionally detect and schedule a follow-up TrueOrochi task when the encounter appears.
  • Add configuration flags for enabling Orochi true-orochi detection, RichMan picture book auto-buy, and Thousand Things earn-money behavior.

Bug Fixes:

  • Fix the server selection check identifier in account switching to use the correct OCR key.
  • Adjust multiple image and OCR regions for RichMan scales and the generic buy dialog to better match the current UI layout.

Enhancements:

  • Refine the HeroTest skill selection loop with a timeout and safety checks to handle cases where the skill panel closes unexpectedly.
  • Expose a generic image asset for entering shikigami records to make soul switching navigation more reusable.
  • Broaden RichMan scales purchasing logic to optionally reuse the generic multi-buy helper for picture book scraps instead of the sea-specific variant.

runhey and others added 7 commits August 4, 2026 22:19
- 新增 check_true_orochi_enable 配置项控制是否启用检测
- 御魂挑战结束后检测真蛇, 发现则立即触发 TrueOrochi 任务
- 新增 enable_book_auto 配置项, 控制永生之海是否使用自动选择
- _scales_sea 根据配置分支: 开启时使用 _scales_buy_more(自动选择),
  关闭时使用原 _scales_buy_sea_more(手动选魂)
- 补充 zh-CN 国际化文案
- config: 新增 earn_money 配置项控制是否执行借处流程
- thousand_things: 新增 tt_earn_money 方法,实现借出式神并领取500樱灯饰
- assets: 新增 borrow/configure/confirm/shikigami 等图像匹配资源
- i18n: 补充 zh-CN 国际化文案

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我在这里留下了一些高层面的反馈:

  • 新增的 goto_shikigami_recordsexit_shikigami_records 方法使用了没有超时或最大重试次数的 while 1 循环,如果 UI 状态或资源发生变化,就有可能导致任务挂起;建议增加一个 Timer/尝试计数器或兜底路径,以避免出现无限循环。
  • tt_earn_money 中,你调用了 self.ui_get_reward(self.I_TT_BORROW_CONFIRM),但当前模块已经定义了一个 tt_get_reward 辅助方法,而且在这个类继承层级中似乎没有明显的 ui_get_reward 方法;请仔细检查并将调用调整为现有的 TT 专用奖励辅助方法,以避免在运行时出现属性错误。
面向 AI 代理的提示
Please address the comments from this code review:

## Overall Comments
- The new `goto_shikigami_records` and `exit_shikigami_records` methods use `while 1` loops without any timeout or max retries, which risks hanging the task if the UI state or assets change; consider adding a `Timer`/attempt counter or fallback path to avoid infinite loops.
- In `tt_earn_money`, you call `self.ui_get_reward(self.I_TT_BORROW_CONFIRM)`, but this module already defines a `tt_get_reward` helper and there is no obvious `ui_get_reward` method in this class hierarchy; double-check and align the call to the existing TT-specific reward helper to prevent attribute errors at runtime.

Sourcery 对开源项目是免费的 —— 如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点击 👍 或 👎,我会根据你的反馈改进之后的评审。
Original comment in English

Hey - I've left some high level feedback:

  • The new goto_shikigami_records and exit_shikigami_records methods use while 1 loops without any timeout or max retries, which risks hanging the task if the UI state or assets change; consider adding a Timer/attempt counter or fallback path to avoid infinite loops.
  • In tt_earn_money, you call self.ui_get_reward(self.I_TT_BORROW_CONFIRM), but this module already defines a tt_get_reward helper and there is no obvious ui_get_reward method in this class hierarchy; double-check and align the call to the existing TT-specific reward helper to prevent attribute errors at runtime.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new `goto_shikigami_records` and `exit_shikigami_records` methods use `while 1` loops without any timeout or max retries, which risks hanging the task if the UI state or assets change; consider adding a `Timer`/attempt counter or fallback path to avoid infinite loops.
- In `tt_earn_money`, you call `self.ui_get_reward(self.I_TT_BORROW_CONFIRM)`, but this module already defines a `tt_get_reward` helper and there is no obvious `ui_get_reward` method in this class hierarchy; double-check and align the call to the existing TT-specific reward helper to prevent attribute errors at runtime.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants