拆件批v1.3-修复B(S9类型闸回归): battle_orchestrator.gd _attune_loadout() 补返回类型注解 -> AttuneLoadout——全量闸 09 静态扫描指纹变化的根因=B4 新写的 encounter 派生读面有值返回缺返回类型注解(audit_type_hints R2,主仓无此红=本分支引入);R2 口径只要求 -> 在位,选具体类名而非 Variant/Guard 式——HEAD 原成员行 loadout=enc.get("loadout", null) 本无 is 守卫,逐字零变化原则下函数体不动只加注解(GDScript 4 对象类型返回天然可空,null=直构零装配语义不变)。验收:static_scan S9 零 FAIL(audit_type_hints PASS——产品码类型闸归零 R1/R2/R3),其余 S 条目读数不劣化(S13 仅存量债两条 battle 1314/level_map 22 与改前一致);gdstyle 基线外新违规 0/恶化恰 2 不变〔领域拆分批 V1〕
This commit is contained in:
1 parent
741b6bd77b
commit
f96632dede
1 file changed
+1
-1
@@ -103,7 +103,7 @@ func _journal() -> GainJournal:
|
||||
|
||||
# 同调配装件读面(begin_battle 经 enc["loadout"] 派生——充能单源化的 reset_cycle/consume_charge
|
||||
# 消费面;null=直构零装配,充能面跳过)
|
||||
func _attune_loadout():
|
||||
func _attune_loadout() -> AttuneLoadout:
|
||||
return encounter.get("loadout", null)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user