From 5698245459a26034f37b6abfac55a7636abae10c Mon Sep 17 00:00:00 2001 From: DKChan <524912269@qq.com> Date: Thu, 8 Oct 2026 06:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20=E5=8D=A1=E2=91=A1T3?= =?UTF-8?q?=E2=80=94=E2=80=94ui=5Fstruct=20=E8=A1=A5=E9=87=87=E6=A0=B7=20l?= =?UTF-8?q?egend+node=20=E4=B8=A4=E6=A0=B9=EF=BC=8813=E2=86=9215=20?= =?UTF-8?q?=E6=A0=B9=E5=85=A8=E7=9C=9F=E8=B7=AF=E5=BE=84=E5=BC=80=E5=90=88?= =?UTF-8?q?=EF=BC=9Alegend=5Ftoggled=20=E4=BF=A1=E5=8F=B7=E5=BC=80?= =?UTF-8?q?=E2=86=92closed=20=E5=85=B3=EF=BC=9B=5Fopen=5Fmodal=20=E7=99=BB?= =?UTF-8?q?=E8=AE=B0=E5=86=8C+show=5Frest=20=E5=96=82=E5=85=A5=E2=86=92con?= =?UTF-8?q?tinue=5Fpressed=20=E5=85=B3=EF=BC=89=EF=BC=9B=E9=A6=96=E8=B7=91?= =?UTF-8?q?=E5=85=A8=E7=BB=BF=20S2=20=E6=9C=AA=E5=91=BD=E4=B8=AD=E3=80=81W?= =?UTF-8?q?L=20=E9=9B=B6=E6=96=B0=E5=A2=9E=E3=80=81=E6=97=A2=E6=9C=89?= =?UTF-8?q?=E9=87=87=E6=A0=B7=E6=AE=B5=E9=9B=B6=E5=88=A0=E5=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/smoke/ui_struct_probe.gd | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/game/smoke/ui_struct_probe.gd b/game/smoke/ui_struct_probe.gd index aa51a239..cf169c5e 100644 --- a/game/smoke/ui_struct_probe.gd +++ b/game/smoke/ui_struct_probe.gd @@ -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"},