fix: 商店防呆警告 Label 移出按钮行 + 记录 D5 端到端验收

MCP 端到端验收 D5 时发现警告 Label 原位置 (120,448) 遮挡背包/语言/设置按钮行;
移至 (250,502) 商店按钮下方空白区,实测红字警告清晰可读、不遮挡。
端到端结果:纯 Modifier 卡组点『出发下一波』被拦截且波次不推进;含 ACTION 正常进入下一波。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-20 15:46:19 +08:00
co-authored by Claude Opus 4.8
parent e65066a8fb
commit 707e1269b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -98,7 +98,7 @@
> ✅ **修复状态 (2026-07-20)****D1 / D2 / D5 已在分支 `fix/audit-latent-bugs`commit `dc05eea`)实现修复,并经 Godot 运行时验收通过**godot-mcp-proGodot 4.6.20 编译错误): > ✅ **修复状态 (2026-07-20)****D1 / D2 / D5 已在分支 `fix/audit-latent-bugs`commit `dc05eea`)实现修复,并经 Godot 运行时验收通过**godot-mcp-proGodot 4.6.20 编译错误):
> - **D1**`feature_tags=1` 持久内存 `every_n_shots` 四连发 = `[0,0,1,0]`(正常);碰撞值 `feature_tags=3` = `[0,0,0,0]`(正确判为非持久;旧 `&` bug 会误得 `[0,0,1,0]`)。 > - **D1**`feature_tags=1` 持久内存 `every_n_shots` 四连发 = `[0,0,1,0]`(正常);碰撞值 `feature_tags=3` = `[0,0,0,0]`(正确判为非持久;旧 `&` bug 会误得 `[0,0,1,0]`)。
> - **D2**`[pierce+2, spark_bolt]` 发射的子弹冷数据 = `{ pierce_remaining: 2 }`;无修正器的对照组为空(无误加)。 > - **D2**`[pierce+2, spark_bolt]` 发射的子弹冷数据 = `{ pierce_remaining: 2 }`;无修正器的对照组为空(无误加)。
> - **D5**`has_castable_action()` 对 纯 Modifier / 空槽 / 空 Deck 均返回 `false`,含 ACTION 返回 `true``SHOP_NEED_ACTION` 四语键正常解析。 > - **D5**`has_castable_action()` 对 纯 Modifier / 空槽 / 空 Deck 均返回 `false`,含 ACTION 返回 `true``SHOP_NEED_ACTION` 四语键正常解析。**端到端实测**(商店内点『出发下一波』):纯 Modifier 卡组被拦截、显示红字警告、波次不推进(W1→W1);含 ACTION 则正常进入下一波(W1→W2)。顺带修正警告 Label 位置(`(120,448)`→`(250,502)`)避免遮挡背包/语言/设置按钮行。
> >
> D3SpatialGridCs 参数分叉)与 D4LOD `_visible_flags` 从不置 1)暂未处理——二者分别依赖尚未接线的 C# 与尚未启用的 LOD,风险潜伏、非当前活跃路径。 > D3SpatialGridCs 参数分叉)与 D4LOD `_visible_flags` 从不置 1)暂未处理——二者分别依赖尚未接线的 C# 与尚未启用的 LOD,风险潜伏、非当前活跃路径。
+1 -1
View File
@@ -306,7 +306,7 @@ func _setup_shop_ui() -> void:
_shop_layer.add_child(_close_btn) _shop_layer.add_child(_close_btn)
_shop_warn = Label.new() _shop_warn = Label.new()
_shop_warn.position = Vector2(120, 448) _shop_warn.position = Vector2(250, 502) # 商店按钮行下方空白区,避免遮挡背包/语言/设置按钮
_shop_warn.add_theme_color_override("font_color", Color(1.0, 0.45, 0.35)) _shop_warn.add_theme_color_override("font_color", Color(1.0, 0.45, 0.35))
_shop_warn.visible = false _shop_warn.visible = false
_shop_layer.add_child(_shop_warn) _shop_layer.add_child(_shop_warn)