修复: 卡②T3——ui_struct 补采样 legend+node 两根(13→15 根全真路径开合:legend_toggled 信号开→closed 关;_open_modal 登记册+show_rest 喂入→continue_pressed 关);首跑全绿 S2 未命中、WL 零新增、既有采样段零删减

This commit is contained in:
DKChan committed 2026-10-08 15:26:00 +08:00
1 parent 315550e36c
commit 5698245459
1 file changed
+27
+27
View File
@@ -107,6 +107,19 @@ func _ready() -> void:
_settle()
if main.pause_overlay.visible:
problems.append("[pause] 关闭后层未隐藏(模态栈单口失守)")
# ---- 图例层(迭代 19 卡②——两枚从未过结构族的旧模态之一):ap_bar legend_toggled
# 信号真路径开(board_zone 信号→组合根 _on_legend_toggled→_open_modal)→结构断言族→
# closed 信号真路径关(close()→组合根 _on_modal_closed)。
main.board_zone.legend_toggled.emit()
_settle()
if not main.legend_overlay.visible:
problems.append("[legend] 图例层未打开(legend_toggled 路径中断)")
await _audit("legend", [main.legend_overlay])
main.legend_overlay.close()
_settle()
if main.legend_overlay.visible:
problems.append("[legend] 关闭后层未隐藏(模态栈单口失守)")
else:
problems.append("[battle_hud] 候选中无战斗节点(驱动中断——候选=%s)" % str(main.level_screen._cand_ids))
@@ -117,6 +130,20 @@ func _ready() -> void:
main._end_overlay.close()
_settle()
# ---- 节点结算层(迭代 19 卡②——两枚从未过结构族的旧模态之二):rest 兑付真路径开
#(组合根 _open_modal 登记册+show_rest 合成喂入)→结构断言族→continue_pressed 信号真路径关
#(press_continue→组合根 _on_node_continue→_close_modal)。
main._open_modal(main.node_overlay)
main.node_overlay.show_rest(3, 15, 20)
_settle()
if not main.node_overlay.visible:
problems.append("[node] 节点结算层未打开(rest 兑付路径中断)")
await _audit("node_overlay", [main.node_overlay])
main.node_overlay.press_continue()
_settle()
if main.node_overlay.visible:
problems.append("[node] 关闭后层未隐藏(continue_pressed 路径中断)")
main.curio_overlay.open_pick("结构探针·三选一", [
{"id": "probe_heal", "text": "回血\n恢复 3 点"},
{"id": "probe_magic", "text": "爆裂轰击\n下一击 +5"},