fix(auto_battle): stabilize Remielle long-press inputs - #2665
Conversation
📝 WalkthroughWalkthrough本次变更更新蕾米埃尔的普攻和强化特殊技操作。操作从持续等待 5 秒改为每隔 0.5 秒重复按键 10 次,最后释放对应按键。样例和自动战斗配置均已同步更新。 Changes蕾米埃尔长按操作
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
需要merge一下,目录下有个skill |
|
已按仓库 |
There was a problem hiding this comment.
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
📒 Files selected for processing (4)
config/auto_battle/全配队通用.merged.ymlconfig/auto_battle/击破站场-强攻速切.merged.ymlconfig/auto_battle/强攻站场-击破支援速切.merged.ymlconfig/auto_battle/自动守护.merged.yml
问题
蕾米埃尔切入后,长按动作只发送少量「按下」事件,随后长时间等待且没有明确松键,自动战斗可能停在按键保持状态。
变更
测试
Summary by CodeRabbit