Conversation
Contributor
There was a problem hiding this comment.
Hey - 我已经审查了你的更改,一切看起来都很棒!
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的审查。
Original comment in English
Hey - I've reviewed your changes and they look great!
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Contributor
There was a problem hiding this comment.
Pull request overview
该 PR 为 SellProduct 任务新增“售卖尝试”机制,将原先基于“优先物品开关”的逻辑扩展为最多 4 次按优先级换货并尝试售卖的流程,并补齐多语言文案以支持新 UI 配置项。
Changes:
- 将据点内售卖逻辑重构为
SellProductSellLoop,按 Attempt1-4 依次换货并进入售卖检查。 - 为 ValleyIV / Wuling 等据点新增 Attempt3/4 与 PriorityItem3/4 选择项,并同步对应 pipeline 节点。
- 新增/更新多语言文案:售卖尝试标题、说明、优先物品 3/4 标签。
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| assets/tasks/SellProduct.json | 将“优先物品开关”改为 Attempt1-4 开关,并新增 PriorityItem3/4 配置入口 |
| assets/resource/pipeline/SellProduct/Wuling.json | 接入 SellLoop 与 Attempt1-4,新增 SelectItem3/4 与对应锚点 |
| assets/resource/pipeline/SellProduct/ValleyIV.json | 接入 SellLoop 与 Attempt1-4,新增 SelectItem3/4 与对应锚点 |
| assets/resource/pipeline/SellProduct/SellCore.json | 新增 SellLoop 主循环,调整缺货分支回到循环以继续后续尝试 |
| assets/resource/pipeline/SellProduct/ChangeGoods.json | 将换货中继改为通过统一锚点选择“配置货品/默认货品” |
| assets/locales/interface/*.json | 新增 SellAttempt1-4 与说明文案,新增 PriorityItem3/4 标签 |
Contributor
|
看了看,感觉没什么问题 |
Joe-Bao
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
现在可以选择售卖次数,和每次售卖的优先物品。
close #1665
#1687
Summary by Sourcery
在 SellProduct 流程中新增两个具有优先级的商品选项,并将其串联至相关的流水线和任务中。
新功能:
增强与改进:
Original summary in English
Summary by Sourcery
Add two new prioritized item options to the SellProduct flow and wire them through related pipelines and tasks.
New Features:
Enhancements: