收口驱动补层: 中途结算面(冒险中=继续推进L2通关三选一链)与终局面(非冒险=断点段前提)分派——放弃终局返回路径适配
This commit is contained in:
1 parent
31b75bdc62
commit
83ae809615
1 file changed
+9
-2
@@ -295,10 +295,17 @@ func _ready() -> void:
|
||||
# level_screen 选路停点→真实放弃二击→终局面。战斗中则继续 autoplay 打完。
|
||||
if not _done and not main._end_overlay.is_open():
|
||||
var close_guard := 1200
|
||||
while close_guard > 0 and not main._end_overlay.is_open():
|
||||
while close_guard > 0:
|
||||
close_guard -= 1
|
||||
await get_tree().process_frame
|
||||
if main.bonus_overlay.visible:
|
||||
if main._end_overlay.is_open():
|
||||
# 冒险中=中途结算面(战斗总结「继续」/下一节点——L2 通关后还有三选一面续推);
|
||||
# 非冒险=终局面在案——断点段前提满足,收口完成。
|
||||
if main._adventure_mode:
|
||||
main._end_overlay._btn.pressed.emit()
|
||||
else:
|
||||
break
|
||||
elif main.bonus_overlay.visible:
|
||||
if main.bonus_overlay._replace_box.visible:
|
||||
main.bonus_overlay.replace_chosen.emit(-1)
|
||||
elif main.bonus_overlay._continue_btn.visible:
|
||||
|
||||
Reference in new issue
Block a user