feedback5 WY: 华法琳's granted trait stops at the data's 7 / 14 layers per battle, not 12 / 24 (GitHub #175; from PR #192 by @kukiC; the owner's decision of 2026-10-06)
PRTS 卫戍协议:盟约 下半, 3月27日更新#2调整 (revision 439189): 「[Ⅳ阶]华法琳:赋予的特质的叠层上限从 初始12/精锐24 降低至 初始7/精锐14」 — a nerf; the current 参战干员 record says 至多7层 / 14层 and the client blackboard is 7 / 14. Research 02 Addendum 1 had read the line backwards, so the remake overrode garrison_95's cap to 12 / 24. Ported from PR #192 by @kukiC: GRANTED_CAP_OVERRIDE is removed from server/sim/content/garrisons/battle.js and from the client-result layer bound (server/match/fields.js layerAllowanceOf); a granted trait keeps its data cap like a native one. Tests from the PR: garrisons_battle (updated on purpose: the 7th cast reaches 7 / 14, the 8th adds nothing), feedback1-gaps (the bound with 华法琳 + 古米), playtest3 (both cards show 7 / 14); the first two fail without the fix. Docs: research 00 / 01 / 02 corrected (02-bonds.json's note; data/bonds.json regenerated offline — only miraShip.spec.layerGain changed), history 0.1.1's pointer, DESIGN §25.13.2 and the §25.10 table. Golden unchanged (no corpus battle casts 8 times in front of 华法琳).
This commit is contained in:
1 parent
463352d9bc
commit
269d7b0bcf
12 files changed
+77
-31
No files matched your search
@@ -269,6 +269,17 @@ describe('3: the temp overflow row (临时整备区)', () => {
|
||||
// ---- 8: the operator's own effect first --------------------------------------------------------------------------------
|
||||
|
||||
describe('8: 特质 right under the detail card\'s header', () => {
|
||||
// GitHub #175 (from PR #192 by @kukiC): the card's 7 / 14 is the cap the battle applies
|
||||
test('华法琳\'s normal and elite cards show the 7 / 14 layer caps (GitHub #175)', async () => {
|
||||
await data.loadAll('chess', 'garrisons', 'assets', 'bonds', 'items');
|
||||
for (const [id, cap] of [['chess_char_4_26_a', 7], ['chess_char_4_26_b', 14]]) {
|
||||
const blocks = ChessDetail({ chess: data.lookup('chess', id), piece: null, editable: false, bonds: [], loadout: null });
|
||||
const block = blocks.find((b) => b.key === 'garrison');
|
||||
const rich = [...walk(block.type(block.props))].find((n) => n.props?.text != null);
|
||||
assert.match(rich.props.text, new RegExp(`每场战斗至多${cap}层`));
|
||||
}
|
||||
});
|
||||
|
||||
test('the block order', () => {
|
||||
assert.deepEqual(CHESS_SECTIONS, ['head', 'garrison', 'trait', 'stats', 'skill', 'module', 'equip', 'talents', 'actions']);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user