Skip to content

Dev - #774

Merged
Beatrice-betty merged 4 commits into
wess09:devfrom
Beatrice-betty:dev
Aug 15, 2026
Merged

Dev#774
Beatrice-betty merged 4 commits into
wess09:devfrom
Beatrice-betty:dev

Conversation

@Beatrice-betty

@Beatrice-betty Beatrice-betty commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Summary by Sourcery

为“深渊星仪(Depths of the Astrarium)”配置 20260813 CN 活动地图,包括更新的塞壬 Boss、相机设置以及输入调优参数。

New Features:

  • 为相关活动地图新增博纳姆·理查德(Bonhomme Richard)塞壬 Boss 模板,涵盖战列舰、航母和潜艇三种变体。
  • 为多个 20260813 CN 关卡引入滑动倍数和线条峰值检测参数配置,以提升地图交互与检测效果。
  • 为所有支持的语言版本注册博纳姆·理查德塞壬资源模板。

Enhancements:

  • 调整多张活动地图的相机位置和出生点,使其更好地符合预期布局与玩法。
  • 精炼部分地图上的塞壬分布,在不应出现塞壬 Boss 的位置移除通用情绪模板。
  • 更新活动目录条目,以反映“深渊星仪(Depths of the Astrarium)”的命名以及新的联合阵营排期行。

Documentation:

  • 修订战役 Readme,新增联合阵营日期,修正本地化标题,并记录“深渊星仪(Depths of the Astrarium)”活动。

Chores:

  • 扩展地图提取器模板映射,将内部的博纳姆·理查德标识符转换为新的塞壬 Boss 模板。
Original summary in English

Summary by Sourcery

Configure the 20260813 CN event maps for "Depths of the Astrarium", including updated siren bosses, camera settings, and input tuning parameters.

New Features:

  • Add Bonhomme Richard siren boss templates for battleship, carrier, and submarine variants across relevant event maps.
  • Introduce swipe multiplier and line peak-detection parameter configurations for multiple 20260813 CN stages to improve map interaction and detection.
  • Register Bonhomme Richard siren asset templates for all supported locales.

Enhancements:

  • Adjust camera positions and spawn points on several event maps to better align with the intended layout and gameplay.
  • Refine siren presence on certain maps by removing generic emotion-based templates where no siren boss should appear.
  • Update event catalog entries to reflect the "Depths of the Astrarium" naming and new coalition schedule rows.

Documentation:

  • Revise the campaign Readme to add the new coalition date, correct localized titles, and document the "Depths of the Astrarium" event.

Chores:

  • Extend the map extractor template mapping to translate internal Bonhomme Richard identifiers to the new siren boss templates.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown

⏳ CI 检查进行中,报告将在完成后更新。

@sourcery-ai

sourcery-ai Bot commented Aug 15, 2026

Copy link
Copy Markdown

Reviewer's Guide

将 20260813 CN 活动(“Depths of the Astrarium”)的地图更新为使用新的 Bonhomme Richard 塞壬模板,调整相机出生点和滑动/视野调优参数,并将新的活动及其资产接入战役元数据和模板系统。

File-Level Changes

Change Details Files
在 20260813 CN 活动地图中重新绑定塞壬模板到 BonhommeRichard 变体,或在不应生成 Boss 的位置移除模板。
  • 在相关地图中,用 BonhommeRichard_BB、BonhommeRichard_CV 和 BonhommeRichard_SS 替换旧的 haorenlichade_* 塞壬标识符。
  • 在不再使用通用 emotion_qz 塞壬 Boss 的关卡中清空 MAP_SIREN_TEMPLATE。
  • 在特定的 A1/C1 地图中添加 MAP_SIREN_HAS_BOSS_ICON_SMALL,以满足小 Boss 图标的需求。
campaign/event_20260813_cn/sp.py
campaign/event_20260813_cn/a1.py
campaign/event_20260813_cn/b1.py
campaign/event_20260813_cn/c1.py
campaign/event_20260813_cn/d1.py
campaign/event_20260813_cn/a3.py
campaign/event_20260813_cn/c3.py
campaign/event_20260813_cn/b2.py
campaign/event_20260813_cn/d2.py
campaign/event_20260813_cn/b3.py
campaign/event_20260813_cn/d3.py
campaign/event_20260813_cn/a2.py
campaign/event_20260813_cn/c2.py
优化部分 20260813 CN 地图的相机配置和出生点,使其更好地贴合游戏内布局。
  • 为 SP、B1、D1、B3 和 D3 地图重新排序或修改 MAP.camera_data_spawn_point。
  • 在 B2 和 D2 地图中,将 MAP.camera_data 及出生点从基于 D2 的坐标调整为基于 D3 的坐标。
  • 将 A3/C3 地图的相机轨迹从使用 D6 改为使用 D4,以覆盖地图中部区域。
campaign/event_20260813_cn/sp.py
campaign/event_20260813_cn/b1.py
campaign/event_20260813_cn/d1.py
campaign/event_20260813_cn/a3.py
campaign/event_20260813_cn/c3.py
campaign/event_20260813_cn/b2.py
campaign/event_20260813_cn/d2.py
campaign/event_20260813_cn/b3.py
campaign/event_20260813_cn/d3.py
为 20260813 CN 活动地图添加地图分析和滑动调优参数,以提升自动寻路和边缘检测效果。
  • 在若干地图中加入 INTERNAL_LINES_FIND_PEAKS_PARAMETERS 和 EDGE_LINES_FIND_PEAKS_PARAMETERS,并为其设置经调优的高度、宽度、显著性、距离和窗口长度。
  • 在 SP 地图上设置 MAP_ENSURE_EDGE_INSIGHT_CORNER,以确保底角边缘检测。
  • 为各地图添加 MAP_SWIPE_MULTIPLY、MAP_SWIPE_MULTIPLY_MINITOUCH 和 MAP_SWIPE_MULTIPLY_MAATOUCH,以针对不同输入后端校准拖拽距离。
campaign/event_20260813_cn/sp.py
campaign/event_20260813_cn/a1.py
campaign/event_20260813_cn/b1.py
campaign/event_20260813_cn/c1.py
campaign/event_20260813_cn/d1.py
campaign/event_20260813_cn/a3.py
campaign/event_20260813_cn/c3.py
重新组织或裁剪部分围绕章节切换和入口/模式设置的生成配置标志。
  • 将 SP 和 A1/C1/B1/D1 地图中的 MAP_CHAPTER_SWITCH_20241219、STAGE_ENTRANCE 和 STAGE_INCREASE_AB 移出生成配置块。
  • 在部分 A3/C3/B2/D2/B3/D3/A2/C2 地图中移除 MAP_HAS_MODE_SWITCH 和 MAP_WALK_USE_CURRENT_FLEET,因为这些地图已不再需要模式切换或使用当前舰队行走。
campaign/event_20260813_cn/sp.py
campaign/event_20260813_cn/a1.py
campaign/event_20260813_cn/b1.py
campaign/event_20260813_cn/c1.py
campaign/event_20260813_cn/d1.py
campaign/event_20260813_cn/a3.py
campaign/event_20260813_cn/c3.py
campaign/event_20260813_cn/b2.py
campaign/event_20260813_cn/d2.py
campaign/event_20260813_cn/b3.py
campaign/event_20260813_cn/d3.py
campaign/event_20260813_cn/a2.py
campaign/event_20260813_cn/c2.py
将新的 “Depths of the Astrarium” 活动以及 Bonhomme Richard 资产模板接入共享工具和文档。
  • 在战役 README 中将 20260813 CN 活动重命名为 “Depths of the Astrarium”,并为 Authentic Horror Story 添加 JP/coalition 行。
  • 扩展 map_extractor Boss 精灵图映射,将 haorenlichade_* 标识符转换为 BonhommeRichard_* 模板键。
  • 在模板资产注册表中注册 TEMPLATE_SIREN_BonhommeRichard_BB/CV/SS 资产,并配置本地化 GIF 路径。
  • 视需要更新 config/i18n 和参数文件(未在 diff 中展示),以支持新的活动和命名。
campaign/Readme.md
dev_tools/map_extractor.py
module/template/assets.py
module/config/argument/args.json
module/config/i18n/en-US.json
module/config/i18n/ja-JP.json
module/config/i18n/zh-CN.json
module/config/i18n/zh-MIAO.json
module/config/i18n/zh-TW.json

Tips and commands

Interacting with Sourcery

  • 触发新评审: 在 Pull Request 中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的评审评论。
  • 从评审评论生成 GitHub Issue: 通过回复评审评论,请求 Sourcery 从该评论创建 Issue。也可以在评审评论下回复 @sourcery-ai issue 来从该评论生成 Issue。
  • 生成 Pull Request 标题: 在 Pull Request 标题中任意位置写入 @sourcery-ai,即可随时生成标题。也可以在 Pull Request 中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 Pull Request 摘要: 在 Pull Request 描述正文中任意位置写入 @sourcery-ai summary,即可在你指定的位置生成 PR 摘要。也可以在 Pull Request 中评论 @sourcery-ai summary 来在任意时间(重新)生成摘要。
  • 生成评审指南: 在 Pull Request 中评论 @sourcery-ai guide,即可在任意时间(重新)生成评审指南。
  • 解决所有 Sourcery 评论: 在 Pull Request 中评论 @sourcery-ai resolve,即可将所有 Sourcery 评论标记为已解决。如果你已经处理完所有评论且不再希望看到它们,这会很有帮助。
  • 撤销所有 Sourcery 评审: 在 Pull Request 中评论 @sourcery-ai dismiss,即可撤销所有现有的 Sourcery 评审。尤其适用于你想从一次全新的评审开始——不要忘记再评论 @sourcery-ai review 来触发新评审!

Customizing Your Experience

访问你的 dashboard 以:

  • 启用或关闭评审功能,例如 Sourcery 自动生成的 Pull Request 摘要、评审指南等。
  • 更改评审语言。
  • 添加、删除或编辑自定义评审说明。
  • 调整其他评审设置。

Getting Help

Original review guide in English

Reviewer's Guide

Updates the 20260813 CN event (“Depths of the Astrarium”) maps to use new Bonhomme Richard siren templates, adjusts camera spawn points and swipe/vision tuning parameters, and wires the new event and assets into the campaign meta data and template system.

File-Level Changes

Change Details Files
Retarget siren templates in 20260813 CN event maps to BonhommeRichard variants or remove them where no boss should be spawned.
  • Replace legacy haorenlichade_* siren identifiers with BonhommeRichard_BB, BonhommeRichard_CV, and BonhommeRichard_SS in relevant maps.
  • Clear MAP_SIREN_TEMPLATE in stages that no longer use the generic emotion_qz siren boss.
  • Add MAP_SIREN_HAS_BOSS_ICON_SMALL in specific A1/C1 maps where a small boss icon is required.
campaign/event_20260813_cn/sp.py
campaign/event_20260813_cn/a1.py
campaign/event_20260813_cn/b1.py
campaign/event_20260813_cn/c1.py
campaign/event_20260813_cn/d1.py
campaign/event_20260813_cn/a3.py
campaign/event_20260813_cn/c3.py
campaign/event_20260813_cn/b2.py
campaign/event_20260813_cn/d2.py
campaign/event_20260813_cn/b3.py
campaign/event_20260813_cn/d3.py
campaign/event_20260813_cn/a2.py
campaign/event_20260813_cn/c2.py
Refine camera configuration and spawn points for several 20260813 CN maps to better align with in-game layout.
  • Reorder or change MAP.camera_data_spawn_point for SP, B1, D1, B3, and D3 maps.
  • Adjust MAP.camera_data and spawn point from D2-based to D3-based coordinates in B2 and D2 maps.
  • Change camera track on A3/C3 from using D6 to D4 for mid-map coverage.
campaign/event_20260813_cn/sp.py
campaign/event_20260813_cn/b1.py
campaign/event_20260813_cn/d1.py
campaign/event_20260813_cn/a3.py
campaign/event_20260813_cn/c3.py
campaign/event_20260813_cn/b2.py
campaign/event_20260813_cn/d2.py
campaign/event_20260813_cn/b3.py
campaign/event_20260813_cn/d3.py
Add map analysis and swipe tuning parameters for 20260813 CN event maps to improve automatic pathing and edge detection.
  • Introduce INTERNAL_LINES_FIND_PEAKS_PARAMETERS and EDGE_LINES_FIND_PEAKS_PARAMETERS with tuned height, width, prominence, distance, and window length values for several maps.
  • Set MAP_ENSURE_EDGE_INSIGHT_CORNER on the SP map to ensure bottom-corner edge detection.
  • Add MAP_SWIPE_MULTIPLY, MAP_SWIPE_MULTIPLY_MINITOUCH, and MAP_SWIPE_MULTIPLY_MAATOUCH values per map to calibrate drag distance for different input backends.
campaign/event_20260813_cn/sp.py
campaign/event_20260813_cn/a1.py
campaign/event_20260813_cn/b1.py
campaign/event_20260813_cn/c1.py
campaign/event_20260813_cn/d1.py
campaign/event_20260813_cn/a3.py
campaign/event_20260813_cn/c3.py
Reorganize or trim some generated configuration flags around chapter switches and entrance/mode settings.
  • Move MAP_CHAPTER_SWITCH_20241219, STAGE_ENTRANCE, and STAGE_INCREASE_AB out of the generated-config block in SP and A1/C1/B1/D1 maps.
  • Drop MAP_HAS_MODE_SWITCH and MAP_WALK_USE_CURRENT_FLEET from some A3/C3/B2/D2/B3/D3/A2/C2 maps where mode switching or current-fleet walking is no longer needed.
campaign/event_20260813_cn/sp.py
campaign/event_20260813_cn/a1.py
campaign/event_20260813_cn/b1.py
campaign/event_20260813_cn/c1.py
campaign/event_20260813_cn/d1.py
campaign/event_20260813_cn/a3.py
campaign/event_20260813_cn/c3.py
campaign/event_20260813_cn/b2.py
campaign/event_20260813_cn/d2.py
campaign/event_20260813_cn/b3.py
campaign/event_20260813_cn/d3.py
campaign/event_20260813_cn/a2.py
campaign/event_20260813_cn/c2.py
Wire the new "Depths of the Astrarium" event and Bonhomme Richard asset templates into shared tooling and documentation.
  • Rename the 20260813 CN event in the campaign README to “Depths of the Astrarium” and add JP/coalition rows for Authentic Horror Story.
  • Extend map_extractor boss sprite mapping to translate haorenlichade_* identifiers into BonhommeRichard_* template keys.
  • Register TEMPLATE_SIREN_BonhommeRichard_BB/CV/SS assets with localized GIF paths in the template assets registry.
  • Update config/i18n and argument files (not shown in diff) to support the new event and naming, if needed.
campaign/Readme.md
dev_tools/map_extractor.py
module/template/assets.py
module/config/argument/args.json
module/config/i18n/en-US.json
module/config/i18n/ja-JP.json
module/config/i18n/zh-CN.json
module/config/i18n/zh-MIAO.json
module/config/i18n/zh-TW.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - 我在这里提供一些总体反馈:

  • 在多个关卡(例如 A1、C1、A2、C2、A3、C3)中,MAP_HAS_SIREN 仍然为 True,但 MAP_SIREN_TEMPLATE 被设置为空列表;建议要么关闭 MAP_HAS_SIREN,要么显式提供模板,以避免出现意外的警报处理行为。
  • INTERNAL_LINES_FIND_PEAKS_PARAMETERS / EDGE_LINES_FIND_PEAKS_PARAMETERS 以及 MAP_SWIPE_MULTIPLY 这些元组在多个地图中被重复定义,且数值非常接近;建议将它们集中到共享常量或辅助函数中,以减少重复并方便之后的参数调优。
  • 与章节/档期相关的标志位(MAP_CHAPTER_SWITCH_20241219、STAGE_ENTRANCE、MAP_HAS_MODE_SWITCH、STAGE_INCREASE_AB、MAP_WALK_USE_CURRENT_FLEET)在一些 20260813 CN 地图中存在,而在另一些中被移除;可以考虑在所有活动关卡之间统一这些配置,以保证活动流程行为的一致性。
提供给 AI Agents 的提示
Please address the comments from this code review:

## Overall Comments
- Several stages (e.g., A1, C1, A2, C2, A3, C3) keep MAP_HAS_SIREN = True while MAP_SIREN_TEMPLATE is set to an empty list; consider either disabling MAP_HAS_SIREN or wiring an explicit template to avoid unexpected siren handling.
- The INTERNAL_LINES_FIND_PEAKS_PARAMETERS / EDGE_LINES_FIND_PEAKS_PARAMETERS and MAP_SWIPE_MULTIPLY tuples are duplicated with very similar values across multiple maps; consider centralizing these into shared constants or helpers to reduce repetition and ease future tuning.
- Chapter/schedule-related flags (MAP_CHAPTER_SWITCH_20241219, STAGE_ENTRANCE, MAP_HAS_MODE_SWITCH, STAGE_INCREASE_AB, MAP_WALK_USE_CURRENT_FLEET) are present on some 20260813 CN maps but removed on others; it may be worth aligning these configurations across all event stages to keep campaign behavior consistent.

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

Hey - I've left some high level feedback:

  • Several stages (e.g., A1, C1, A2, C2, A3, C3) keep MAP_HAS_SIREN = True while MAP_SIREN_TEMPLATE is set to an empty list; consider either disabling MAP_HAS_SIREN or wiring an explicit template to avoid unexpected siren handling.
  • The INTERNAL_LINES_FIND_PEAKS_PARAMETERS / EDGE_LINES_FIND_PEAKS_PARAMETERS and MAP_SWIPE_MULTIPLY tuples are duplicated with very similar values across multiple maps; consider centralizing these into shared constants or helpers to reduce repetition and ease future tuning.
  • Chapter/schedule-related flags (MAP_CHAPTER_SWITCH_20241219, STAGE_ENTRANCE, MAP_HAS_MODE_SWITCH, STAGE_INCREASE_AB, MAP_WALK_USE_CURRENT_FLEET) are present on some 20260813 CN maps but removed on others; it may be worth aligning these configurations across all event stages to keep campaign behavior consistent.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Several stages (e.g., A1, C1, A2, C2, A3, C3) keep MAP_HAS_SIREN = True while MAP_SIREN_TEMPLATE is set to an empty list; consider either disabling MAP_HAS_SIREN or wiring an explicit template to avoid unexpected siren handling.
- The INTERNAL_LINES_FIND_PEAKS_PARAMETERS / EDGE_LINES_FIND_PEAKS_PARAMETERS and MAP_SWIPE_MULTIPLY tuples are duplicated with very similar values across multiple maps; consider centralizing these into shared constants or helpers to reduce repetition and ease future tuning.
- Chapter/schedule-related flags (MAP_CHAPTER_SWITCH_20241219, STAGE_ENTRANCE, MAP_HAS_MODE_SWITCH, STAGE_INCREASE_AB, MAP_WALK_USE_CURRENT_FLEET) are present on some 20260813 CN maps but removed on others; it may be worth aligning these configurations across all event stages to keep campaign behavior consistent.

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.

@Beatrice-betty
Beatrice-betty merged commit 8805042 into wess09:dev Aug 15, 2026
4 of 5 checks passed
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.

2 participants