## Summary by Sourcery
更新任务队列默认值和招募设置,改进配置迁移和游戏启动行为,并在多种语言中优化文档与本地化格式。
Enhancements:
- 当未配置任何任务时,在任务队列中初始化一组默认核心任务,以确保开箱即用的可用配置。
- 调整任务启用状态处理和选择逻辑,包括可为空的启用标记以及主任务反转行为,以获得更可预测的任务执行效果。
- 优化招募设置,将可为空的加急票标记按任务进行存储,并正确序列化到助手后端。
- 改进配置转换逻辑,更好地检测并修复来自旧版本或损坏配置中的缺失或空任务队列配置。
- 将游戏启动行为与专用配置标记对齐,并使启动任务遵循该设置,而非再根据客户端类型进行推断。
- 收紧商城任务行为,在尝试刷信用战斗前,检查最近的、且已启用的战斗任务以获取关卡配置。
- 在核心 C++ 代码中对控制器和助手 API 的签名以及 lambda 的格式进行小幅清理,而不改变任何行为。
Documentation:
- 打磨英文、中文(简体/繁体)、日文和韩文的协议与战斗相关文档,主要修正格式、转义以及表格/布局一致性,以提升可读性和准确性。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Update task queue defaults and recruitment settings, improve
configuration migration and game startup behavior, and refine
documentation and localization formatting across multiple languages.
Enhancements:
- Initialize a default set of core tasks in the task queue when no tasks
are configured to ensure a usable out-of-the-box setup.
- Adjust task enablement handling and selection logic, including
nullable enable flags and main-task inversion behavior, for more
predictable task execution.
- Refine recruitment settings to use a nullable expedited-ticket flag
stored per task and serialized appropriately to the assistant backend.
- Improve configuration conversion logic to better detect and repair
missing or empty task queue configurations from older or broken setups.
- Align game startup behavior to a dedicated configuration flag and wire
startup tasks to respect this setting instead of inferring from client
type.
- Tighten mall task behavior by checking the nearest preceding enabled
fight task for stage configuration before attempting credit-farming
battles.
- Minor controller and assistant API signature and lambda formatting
cleanups in core C++ code without changing behavior.
Documentation:
- Polish protocol and combat documentation in English, Chinese
(Simplified/Traditional), Japanese, and Korean, mainly correcting
formatting, escaping, and table/layout consistency to improve
readability and accuracy.
</details>
## Summary by Sourcery
Bug Fixes:
- 当通用战斗任务在未配置具体关卡的情况下被设置时,阻止安排 credit-fight 任务,从而避免触发无效的 OF-1 运行。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Bug Fixes:
- Prevent credit-fight tasks from being scheduled when a generic fight
task is configured without a specific stage, avoiding invalid OF-1 runs.
</details>