From 3dffbdea23b02e29125aa6ddc38d7d1f5c823f8c Mon Sep 17 00:00:00 2001 From: DKChan <524912269@qq.com> Date: Mon, 28 Sep 2026 06:45:04 +0800 Subject: [PATCH] =?UTF-8?q?test(smoke):=20T4=20=E6=8E=A2=E9=92=88=E7=8B=AC?= =?UTF-8?q?=E7=AB=8B=E6=80=A7=E6=96=AD=E8=A8=80=E2=80=94=E2=80=94=E7=8B=AC?= =?UTF-8?q?=E7=AB=8B=E5=B1=8F=E6=BF=80=E6=B4=BB=E6=9C=9F=E6=88=98=E6=96=97?= =?UTF-8?q?=E5=B1=8F=E5=AE=BF=E4=B8=BB=E9=9A=90=E8=97=8F/=E6=88=98?= =?UTF-8?q?=E6=96=97=E8=8A=82=E7=82=B9=E6=8F=90=E4=BA=A4=E5=90=8E=E6=81=A2?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ui_probe 入口停点段:+独立性断言二支(level_screen.visible 且 _battle_root.hidden=零透出契约;press_candidate 进首战后 _battle_root 恢复+level_screen 不可见=屏级互斥恢复);断言消息 route_overlay 残留清零+注释措辞随独立屏。ui_click_probe 入口段:+独立性断言(屏激活期宿主隐藏)。 轻闸=冒烟 557/0+五探针全 PASS 零脚本错误。 --- game/smoke/ui_click_probe.gd | 3 +++ game/smoke/ui_probe.gd | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/game/smoke/ui_click_probe.gd b/game/smoke/ui_click_probe.gd index 77a45eb7..bff6c689 100644 --- a/game/smoke/ui_click_probe.gd +++ b/game/smoke/ui_click_probe.gd @@ -91,6 +91,9 @@ func _ready() -> void: # 停点前移批 2026-09-23:关卡开始 = 入口选路停点——press_candidate 图上命中路径选入口候选进首战(候选按钮退役 2026-09-28) #(首格可点 AC 口径随之含入口选路一步:菜单点击 → 停点呈现 → pick → 棋盘安装) if main.level_screen.visible: + # 独立性断言(形态升格批 2026-09-28):独立屏激活期战斗屏宿主整体隐藏 + if main._battle_root.visible: + _problems.append("独立屏激活期战斗屏宿主未隐藏(零透出契约失守)") main.level_screen.press_candidate(0) await get_tree().process_frame await get_tree().process_frame diff --git a/game/smoke/ui_probe.gd b/game/smoke/ui_probe.gd index b463be4c..912de2d9 100644 --- a/game/smoke/ui_probe.gd +++ b/game/smoke/ui_probe.gd @@ -63,8 +63,11 @@ func _ready() -> void: await get_tree().process_frame # ---- 入口选路停点(停点前移批 2026-09-23:关卡开始即出节点图——level_started 后、首战前弹选路层; # press_candidate 图上命中路径 pick 入口单候选进首战——候选按钮退役 2026-09-28)---- + # ---- 独立性断言(形态升格批 2026-09-28:独立屏激活期战斗屏宿主整体隐藏,零透出)---- if not main.level_screen.visible: - problems.append("关卡开始未弹入口选路停点(route_overlay 应可见)") + problems.append("关卡开始未弹入口选路停点(level_screen 应可见)") + elif main._battle_root.visible: + problems.append("独立屏激活期战斗屏宿主未隐藏(零透出契约失守)") elif main.runner == null or not main.runner.awaiting_choice() \ or main.runner.next_candidate_ids().size() != 1: problems.append("入口停点状态失守(选路态 + 入口单候选)") @@ -72,6 +75,8 @@ func _ready() -> void: main.level_screen.press_candidate(0) await get_tree().process_frame await get_tree().process_frame + if not main._battle_root.visible or main.level_screen.visible: + problems.append("选路提交战斗节点后未切回战斗屏(屏级互斥恢复失守)") # ---- 放弃入口·冒险模式可见 + 战斗中按下被拒(真实按钮路径——入口挂选路停点,战斗中拒绝为防御分支)---- if main.level_screen.abandon_btn == null or not main.level_screen.abandon_btn.visible: problems.append("冒险模式放弃按钮未开放(选路停点入口在案)") @@ -80,7 +85,7 @@ func _ready() -> void: await get_tree().process_frame if main.adventure == null or String(main.adventure.state) != "running": problems.append("首战中放弃未被拒(战斗域单事务在飞——state 应保持 running)") - # ---- 既有断言(回归基线;A 区进度条断言随 停点前移批 2026-09-23 退役——节点链进度由关卡画面选路覆盖层承载)---- + # ---- 既有断言(回归基线;A 区进度条断言随 停点前移批 2026-09-23 退役——节点链进度由关卡画面独立屏承载)---- if main.board_view._cells.is_empty(): problems.append("棋盘格未生成(cells=0)") if main.board_view.board() == null: