Skip to content

fix(auto_battle): stabilize Remielle long-press inputs - #2665

Open
Neuclic wants to merge 2 commits into
OneDragon-Anything:mainfrom
Neuclic:codex/fix-remielle-action-templates
Open

fix(auto_battle): stabilize Remielle long-press inputs#2665
Neuclic wants to merge 2 commits into
OneDragon-Anything:mainfrom
Neuclic:codex/fix-remielle-action-templates

Conversation

@Neuclic

@Neuclic Neuclic commented Aug 4, 2026

Copy link
Copy Markdown

问题

蕾米埃尔切入后,长按动作只发送少量「按下」事件,随后长时间等待且没有明确松键,自动战斗可能停在按键保持状态。

变更

  • 只修改蕾米埃尔长按普攻与长按强化特殊技两个角色动作模板
  • 长按期间每 0.5 秒续发一次「按下」,避免并发输入使长按提前失效
  • 动作结束时明确发送「松开」
  • 保留原有 10 秒「自定义-动作不打断 / 自定义-无视闪光」保护,不修改任何状态模板、配队逻辑或 merged 配置

测试

Summary by CodeRabbit

  • 改进
    • 优化蕾米埃尔的特殊技操作:改为每隔 0.5 秒重复触发,共执行 10 次后松开按键。
    • 优化蕾米埃尔的普通攻击操作:改为连续执行按下与间隔操作,完成后自动松开按键。

@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

本次变更更新蕾米埃尔的普攻和强化特殊技操作。操作从持续等待 5 秒改为每隔 0.5 秒重复按键 10 次,最后释放对应按键。样例和自动战斗配置均已同步更新。

Changes

蕾米埃尔长按操作

Layer / File(s) Summary
重复按键序列与释放
config/auto_battle_operation/蕾米埃尔-长按强化特殊技.sample.yml, config/auto_battle_operation/蕾米埃尔-长按普攻.sample.yml
两个样例均移除 5 秒等待,改为每隔 0.5 秒重复按键 10 次,并在末尾释放对应按键。
通用配队配置同步
config/auto_battle/全配队通用.merged.yml
两组重复配置中的普攻和强化特殊技流程均改为 10 次按键、0.5 秒间隔和最终释放。
战斗策略配置同步
config/auto_battle/击破站场-强攻速切.merged.yml, config/auto_battle/强攻站场-击破支援速切.merged.yml, config/auto_battle/自动守护.merged.yml
三个策略配置中的蕾米埃尔长按流程均改为重复按键、0.5 秒间隔和最终释放。触发条件和后续状态条件保持不变。

Estimated code review effort: 2 (Simple) | ~15 minutes

Possibly related PRs

Suggested reviewers: kawayiyokami, doctorreid, shadowlemoon

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题准确概括了蕾米埃尔长按攻击输入稳定性改进,符合主要变更内容。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kawayiYokami

Copy link
Copy Markdown
Contributor

需要merge一下,目录下有个skill

@Neuclic

Neuclic commented Aug 4, 2026

Copy link
Copy Markdown
Author

已按仓库 skills/agent-auto-battle-config/SKILL.md 的要求,通过 skills/new-config 流程重新构建并补交 4 个实际引用蕾米埃尔动作模板的 .merged.yml,提交为 44c53d1。生成差异仅同步两段长按动作,没有改动“自定义-动作不打断”“自定义-无视闪光”或 10 秒保护。定向测试 2 项通过。

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@config/auto_battle/全配队通用.merged.yml`:
- Around line 10722-10750: 修正该自动战斗配置中第一处重复操作序列的 YAML 缩进,使每个 `"seconds"` 字段及其后续
`- "op_name"` 与对应列表项保持同一层级,并参照 21564-21602 和 21619-21657 的正确副本同步 10722-10750 与
10777-10805 两处。

In `@config/auto_battle/自动守护.merged.yml`:
- Around line 8802-8805: 在自动战斗配置中,分别定位“长按普攻”和“长按强化特殊技”序列,删除各自最后一次“按下”操作及其对应的 0.5
秒等待;保留最终的“松开”操作,使两段动作均执行 10 次按下并持续 5 秒。
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 87666641-281e-42ee-b5e5-9b8fb28a9032

📥 Commits

Reviewing files that changed from the base of the PR and between 8a867ee and 44c53d1.

📒 Files selected for processing (4)
  • config/auto_battle/全配队通用.merged.yml
  • config/auto_battle/击破站场-强攻速切.merged.yml
  • config/auto_battle/强攻站场-击破支援速切.merged.yml
  • config/auto_battle/自动守护.merged.yml

Comment thread config/auto_battle/全配队通用.merged.yml
Comment thread config/auto_battle/自动守护.merged.yml
@ShadowLemoon ShadowLemoon added the test-branch 合入 test 分支 label Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test-branch 合入 test 分支

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants