Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概述 Overview
实现/解决/优化的内容(implemented/solved/optimized/fixed:):
修复 Redundant NDE 自动点击(Auto Reroll)功能失效的问题。
原逻辑在 Harmony 前缀(
Prefix)中过早触发按钮点击,导致 UI 元素尚未初始化、事件未注册,点击无效。本次改动将逻辑调整为 后置补丁(Postfix)+ 延迟协程执行,保证弹窗完全加载后再自动触发“重掷”按钮,从而恢复自动点击功能的正常工作。
检查 Check
功能 Function
若有新增,已编写完善的配置文件字段说明,并确保
enUS.json已完善若有必要,已编写面向用户的新功能说明
已测试新功能或更改
isAutoRedundantNDE = true时,弹窗在显示完成后 1 秒自动触发按钮事件。Network.Get().RespondToRedundantNDEReroll()。isAutoRedundantNDE = false时行为不受影响。风险 Risk
可能导致或已知的问题,如果没有,略过 (May cause or known problems, if there are none, skip):