iter(36): 卡C+卡A 实现——开场行后缀认加算区(六项布尔+三路径断言:白板反向/续玩重建正向,卡片②奖励节点前提缺陷改快照喂入形态代拍2)、营地六处灰字STONE_DEEP+取色/源扫描断言、迷雾测点三关归一后基准+派生校验(T0对拍L2/L3修值L2条款)、文案禁字清扫钉值表13单元+player_copy_sweep新宿主24断言入清单、变异验证全套留痕(对照表证据随实现报告)

This commit is contained in:
DKChan committed 2026-10-24 07:42:46 +08:00
1 parent 2931b1f250
commit 9468c70ee2
19 files changed
+489 -31

No files matched your search

+8 -4
View File
@@ -604,12 +604,16 @@ func _on_adventure_level_started(level_index: int, display_name: String) -> void
run_scope.runner = run_scope.adventure.runner()
# 开场行传当前生效值(runner.effective_atk/effective_max_hp 与战斗面板同源:
# 表值+永久强化 flat+加算区 flat 后乘调试浮窗 pct,本回调时点 runner 已带全部加成);「含面板加成」
# 后缀判断认局外加成——永久强化 atk/max_hp flat 或调试浮窗 pct 任一存在才带,白板局不带
# 后缀判断认任一加成源——永久强化 atk/max_hp flat 或调试浮窗 pct 或局内加算区 atk/max_hp
#(run_ledger.bonus——属性值提升入账后显示值已含加算区 flat,注记随动;armor_class/ap 不入条件:
# 开场行只显示 atk/max_hp 两值,注记指向不存在的显示轴反成失真),白板局不带
var ov: Dictionary[Variant, Variant] = meta.hero_override()
var boosted: bool = int(ov.get("atk", 0)) > 0 or int(ov.get("max_hp", 0)) > 0 \
or debug_overlay.atk_pct() > 0 or debug_overlay.hp_pct() > 0 \
or int(run_scope.runner.run_ledger.bonus.get("atk", 0)) > 0 \
or int(run_scope.runner.run_ledger.bonus.get("max_hp", 0)) > 0
log_view.append_bb(Narrator.level_open_line(display_name, int(run_scope.adventure.master_seed),
run_scope.runner.effective_atk(), run_scope.runner.effective_max_hp(),
int(ov.get("atk", 0)) > 0 or int(ov.get("max_hp", 0)) > 0
or debug_overlay.atk_pct() > 0 or debug_overlay.hp_pct() > 0))
run_scope.runner.effective_atk(), run_scope.runner.effective_max_hp(), boosted))
func _on_runner_node(node: Dictionary, info: Dictionary) -> void: