feedback1 gaps: the client-result layer bound counts the lineup's layer traits

With the bots' new band picks the full-match suite's coop/FUNNY/107
reached a 6-谢拉格 freeze board at R12 whose honest +112 谢拉格 layers passed
the flat 60 + 4*round = 108, so the server rejected the client and
re-simulated (SP_VERIFY=all agrees with the client on all 57 battles).

validateClientResult now adds, per bond, what the player's IN_BATTLE layer
traits can add to it: each trait of its units and each one their ADD_BOND
traits hand out (once per operator), up to the per-battle cap the sim
applies; a trait without a cap, or a 魔王, leaves the bond bounded only by
the room under 999. Other bonds keep the flat bound. DESIGN §14 / §20.12 /
§21.26, META and the CHANGELOG say so; tests pin the R12 board and the
capped, handed-out and 魔王 cases.
This commit is contained in:
sganggs committed 2026-10-03 15:25:48 +08:00
1 parent 1ea3e93de2
commit cef6b219f9
5 files changed
+102 -11

No files matched your search

+1
View File
@@ -57,6 +57,7 @@
- 隐秘核心的「伤害超过 X%」播报只算这一场领袖的伤害,上一回合的播报不会拖到下一回合。
- 播报按官方优先级排队,领袖伤害播报不会被升级调度中心等播报挤掉。
- 修复联防中隐德来希的心烛在超时时被算成漏怪、导致战斗结果被服务器拒绝的问题。
- 修复叠层特质很强的阵容(如六谢拉格冻结流)一场作战叠层较多时,战斗结果被服务器误判为异常、改由服务器重算的问题。
### 界面