diff --git a/docs_dev/doc_code_audit_2026-07-20.md b/docs_dev/doc_code_audit_2026-07-20.md index 385bbc9..be3fbaa 100644 --- a/docs_dev/doc_code_audit_2026-07-20.md +++ b/docs_dev/doc_code_audit_2026-07-20.md @@ -98,7 +98,7 @@ > ✅ **修复状态 (2026-07-20)**:**D1 / D2 / D5 已在分支 `fix/audit-latent-bugs`(commit `dc05eea`)实现修复,并经 Godot 运行时验收通过**(godot-mcp-pro,Godot 4.6.2,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 }`;无修正器的对照组为空(无误加)。 -> - **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)`)避免遮挡背包/语言/设置按钮行。 > > D3(SpatialGridCs 参数分叉)与 D4(LOD `_visible_flags` 从不置 1)暂未处理——二者分别依赖尚未接线的 C# 与尚未启用的 LOD,风险潜伏、非当前活跃路径。 diff --git a/scenes/main/combat_s2.gd b/scenes/main/combat_s2.gd index 1013ef2..4e3210c 100644 --- a/scenes/main/combat_s2.gd +++ b/scenes/main/combat_s2.gd @@ -306,7 +306,7 @@ func _setup_shop_ui() -> void: _shop_layer.add_child(_close_btn) _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.visible = false _shop_layer.add_child(_shop_warn)