卡②T4(战斗编排归约批): level_runner注入行加self前缀消no-self-assign文本巧合(成员链尾名与右侧成员同名——S13机检误判,语义零变化);键账对账: 宿主15/facts 15贴顶/cycle 8/811行≤1000/基线外零新键·gdstyle零恶化

This commit is contained in:
DKChan committed 2026-10-30 05:29:51 +08:00
1 parent 15c833e0c7
commit 3e9d3afa08
1 file changed
+1 -1
+1 -1
View File
@@ -517,7 +517,7 @@ func _start_battle(node: Dictionary) -> bool:
_settlement = BattleOrchestrator.new(db, rng)
if treasure_inventory == null:
treasure_inventory = TreasureItems.new(db) # 惰性建——关卡域单实例(跨战斗延续)
_settlement.reward_grant().treasure_inventory = treasure_inventory # 库存注入(经授予件出口直注——注入时序在宿主构造之后不变)
_settlement.reward_grant().treasure_inventory = self.treasure_inventory # 库存注入(经授予件出口直注——注入时序在宿主构造之后不变)
if _settlement != null:
_settlement.set_treasure_unlocked(_treasure_unlocked) # 解锁门控下传(装板摇号前)
# core↔core 接线只许方法 Callable(静态规则 S6——lambda 捕获 self 会延长