Skip to content

feat: 增加每日任务选项与相关检定#667

Merged
Joe-Bao merged 3 commits intoMaaEnd:mainfrom
Joe-Bao:fix/daily-task
Feb 22, 2026
Merged

feat: 增加每日任务选项与相关检定#667
Joe-Bao merged 3 commits intoMaaEnd:mainfrom
Joe-Bao:fix/daily-task

Conversation

@Joe-Bao
Copy link
Contributor

@Joe-Bao Joe-Bao commented Feb 21, 2026

fix #663

Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:

  • 在每日奖励配置中新增每日任务/任务选项。

增强:

  • 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。
Original summary in English

Summary by Sourcery

Update daily rewards task configurations to support new daily mission options and related validations.

New Features:

  • Add new daily mission/task options in the daily rewards configuration.

Enhancements:

  • Align pipeline and runtime daily rewards task resources for the new daily mission options.
Original summary in English

Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:

  • 在每日奖励配置中新增每日任务/任务选项。

增强:

  • 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。
Original summary in English

Summary by Sourcery

Update daily rewards task configurations to support new daily mission options and related validations.

New Features:

  • Add new daily mission/task options in the daily rewards configuration.

Enhancements:

  • Align pipeline and runtime daily rewards task resources for the new daily mission options.

Copy link
Contributor

@he0119 he0119 left a comment

Choose a reason for hiding this comment

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

我试了一下没问题,能自动停止了。

@Joe-Bao Joe-Bao marked this pull request as ready for review February 22, 2026 06:11
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - 我在这里给出了一些整体性的反馈:

  • 建议将每日任务选项的键,以及任何共享的校验标志,抽取为单一事实来源(例如一个 schema 或常量文件),这样可以避免 assets/resource/pipeline/DailyRewards/Tasks.jsonassets/tasks/DailyRewards.json 随着时间推移出现不同步的情况。
  • 如果每日任务条目的结构已经发生变化(新的字段或值类型),可能值得引入一个显式的 schema 版本,或者提供一种清晰的方法来区分旧配置和新配置,以避免破坏这些 JSON 文件的旧有使用方。
给 AI 代理的提示
Please address the comments from this code review:

## Overall Comments
- Consider extracting the daily task option keys and any shared validation flags into a single source of truth (e.g., a schema or constants file) so that `assets/resource/pipeline/DailyRewards/Tasks.json` and `assets/tasks/DailyRewards.json` cannot drift out of sync over time.
- If the structure of the daily task entries has changed (new fields or value types), it may be worth introducing an explicit schema version or a clear way to distinguish old vs new configurations to avoid breaking older consumers of these JSON files.

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

Hey - I've left some high level feedback:

  • Consider extracting the daily task option keys and any shared validation flags into a single source of truth (e.g., a schema or constants file) so that assets/resource/pipeline/DailyRewards/Tasks.json and assets/tasks/DailyRewards.json cannot drift out of sync over time.
  • If the structure of the daily task entries has changed (new fields or value types), it may be worth introducing an explicit schema version or a clear way to distinguish old vs new configurations to avoid breaking older consumers of these JSON files.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider extracting the daily task option keys and any shared validation flags into a single source of truth (e.g., a schema or constants file) so that `assets/resource/pipeline/DailyRewards/Tasks.json` and `assets/tasks/DailyRewards.json` cannot drift out of sync over time.
- If the structure of the daily task entries has changed (new fields or value types), it may be worth introducing an explicit schema version or a clear way to distinguish old vs new configurations to avoid breaking older consumers of these JSON files.

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.

@Joe-Bao Joe-Bao merged commit 9d5cd00 into MaaEnd:main Feb 22, 2026
31 of 32 checks passed
he0119 pushed a commit that referenced this pull request Feb 23, 2026
fix #663

## Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:
- 在每日奖励配置中新增每日任务/任务选项。

增强:
- 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update daily rewards task configurations to support new daily mission
options and related validations.

New Features:
- Add new daily mission/task options in the daily rewards configuration.

Enhancements:
- Align pipeline and runtime daily rewards task resources for the new
daily mission options.

</details>

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:
- 在每日奖励配置中新增每日任务/任务选项。

增强:
- 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update daily rewards task configurations to support new daily mission
options and related validations.

New Features:
- Add new daily mission/task options in the daily rewards configuration.

Enhancements:
- Align pipeline and runtime daily rewards task resources for the new
daily mission options.

</details>

</details>
HYY1116 pushed a commit to HYY1116/MaaEnd that referenced this pull request Feb 25, 2026
fix MaaEnd#663

## Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:
- 在每日奖励配置中新增每日任务/任务选项。

增强:
- 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update daily rewards task configurations to support new daily mission
options and related validations.

New Features:
- Add new daily mission/task options in the daily rewards configuration.

Enhancements:
- Align pipeline and runtime daily rewards task resources for the new
daily mission options.

</details>

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:
- 在每日奖励配置中新增每日任务/任务选项。

增强:
- 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update daily rewards task configurations to support new daily mission
options and related validations.

New Features:
- Add new daily mission/task options in the daily rewards configuration.

Enhancements:
- Align pipeline and runtime daily rewards task resources for the new
daily mission options.

</details>

</details>
MistEO pushed a commit that referenced this pull request Mar 9, 2026
fix #663

## Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:
- 在每日奖励配置中新增每日任务/任务选项。

增强:
- 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update daily rewards task configurations to support new daily mission
options and related validations.

New Features:
- Add new daily mission/task options in the daily rewards configuration.

Enhancements:
- Align pipeline and runtime daily rewards task resources for the new
daily mission options.

</details>

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:
- 在每日奖励配置中新增每日任务/任务选项。

增强:
- 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update daily rewards task configurations to support new daily mission
options and related validations.

New Features:
- Add new daily mission/task options in the daily rewards configuration.

Enhancements:
- Align pipeline and runtime daily rewards task resources for the new
daily mission options.

</details>

</details>
MistEO pushed a commit that referenced this pull request Mar 9, 2026
fix #663

## Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:
- 在每日奖励配置中新增每日任务/任务选项。

增强:
- 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update daily rewards task configurations to support new daily mission
options and related validations.

New Features:
- Add new daily mission/task options in the daily rewards configuration.

Enhancements:
- Align pipeline and runtime daily rewards task resources for the new
daily mission options.

</details>

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

更新每日奖励任务配置,以支持新的每日任务选项及相关校验。

新功能:
- 在每日奖励配置中新增每日任务/任务选项。

增强:
- 为新的每日任务选项对齐流水线和运行时的每日奖励任务资源。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update daily rewards task configurations to support new daily mission
options and related validations.

New Features:
- Add new daily mission/task options in the daily rewards configuration.

Enhancements:
- Align pipeline and runtime daily rewards task resources for the new
daily mission options.

</details>

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

装备制造、升级武器和简易制作应该先检查任务是否完成

3 participants