feedback6 R21P: every operator fights at full potential (潜能 6) — the owner's decision of 2026-10-07 (GitHub #252, PR #255; no host slider): tools/build-data.mjs OPERATOR_POTENTIAL adds every character_table potentialRanks attribute step (部署费用 / 再部署时间 / ATK / HP / DEF / RES / ASPD, all ADDITION, before rounding) to every chess (normal and elite), 补位 and 自选 unit form and picks talent / trait / module-talent candidates up to requiredPotentialRank 5 (「天赋效果增强」); a summon picks its talent candidates at its owner's potential (their requiredPotentialRank mirrors the owner's — PRTS 凯尔希: Mon3tr 3.5 s / 1400) and takes none of the owner's attribute steps; the 原型干员 stand-ins have no potential ranks (unchanged). 刺玫 413 / 17 → 435 / 15 as in the tournament video, 砾 18 → 16 s, 至简 80 → 70 s. data/chess.json (256 records), backups.json (the 71 owned picks, 8 summons), tokens.json (5 summons) and the data translations en / ja / ko / zh-TW rebuilt — only potential-driven fields (JSON-compared); the 干员调配 局内数值 and detail cards read the records. op-wang.js reads her stock cap 「最多拥有8(+1)枚」 through the potential step (the pattern fell back to 7: she sat at the cap from the start). Docs: DATA §2 / §18 / tokens, PLAYING (detail card), research 03, kits README, shared/diy.js / standIn.js, the 71 自选 kit headers and the kit comments that quoted potential-0 numbers. Tests: test/full-potential.test.js (new, fails on the parent); data.test.js re-derivation adds the potential steps (+ respawnTime); every test that hard-coded a potential-0 number carries the full-potential one (from the data and the test's own formula; no check loosened); golden: moves almost everywhere — roster 49/49, bonds 46/46, fields 22/22, matches 18/18, diy 133/138 (each battle parts on a stat: roster-001 / roster-020 at tick 1 on 角峰's HP (生命上限+250), bond-arcaneShip-high at 4.73 s and diy-001 at 3.70 s on an enemy's HP from a higher ATK; diy-110 / 111 also by 望's cap; the matches through those battles); unchanged: standins 10/10 and diy-135…138 (no potential ranks), diy-012 (twelve 夜莺 never hit, never redeployed)
This commit is contained in:
1 parent
783bd30afd
commit
806a047717
178 files changed
+7616
-7268
No files matched your search
@@ -75,9 +75,9 @@ test('电弧 in every 自选 form: her kit (all three skills authored), the form
|
||||
done(h);
|
||||
}
|
||||
}
|
||||
// the numbers of the forms (zh_CN): E2 Lv1 844 / 400 / 118, E2 Lv60 993 / 444 / 135; SO-A +125 / +27 → +165 / +43 HP / ATK,
|
||||
// the numbers of the forms (zh_CN): E2 Lv1 844 / 424 / 118, E2 Lv60 993 / 468 / 135; SO-A +125 / +27 → +165 / +43 HP / ATK,
|
||||
// SO-B +41 → +65 ATK
|
||||
assert.deepEqual([FORMS['2/1/4/0'].stats.maxHp, FORMS['2/1/4/0'].stats.atk, FORMS['2/60/7/1'].stats.maxHp, FORMS['2/60/7/1'].stats.atk], [844, 400, 993, 444]);
|
||||
assert.deepEqual([FORMS['2/1/4/0'].stats.maxHp, FORMS['2/1/4/0'].stats.atk, FORMS['2/60/7/1'].stats.maxHp, FORMS['2/60/7/1'].stats.atk], [844, 424, 993, 468]);
|
||||
assert.deepEqual([modOf(5, SOA).attr, modOf(6, SOA).attr, modOf(5, SOB).attr, modOf(6, SOB).attr], [{ maxHp: 125, atk: 27 }, { maxHp: 165, atk: 43 }, { atk: 41 }, { atk: 65 }]);
|
||||
});
|
||||
|
||||
@@ -127,23 +127,23 @@ test('T1 卡带里的灵感: her skill\'s summon is her piece; the deck — 5 he
|
||||
}
|
||||
});
|
||||
|
||||
test('T2 加油~: her summons on the field get 鼓舞 = 12 % of HER current ATK / DEF / max HP (PRTS 修正 电弧自身), added after their own multipliers, refreshed every second; the strongest 鼓舞 of a kind is kept', () => {
|
||||
test('T2 加油~: her summons on the field get 鼓舞 = 15 % of HER current ATK / DEF / max HP (PRTS 修正 电弧自身), added after their own multipliers, refreshed every second; the strongest 鼓舞 of a kind is kept', () => {
|
||||
for (const f of [[5, false, null], [6, true, SOA]]) {
|
||||
const [tier, elite, mod] = f;
|
||||
const { h, u, ts } = field({ tier, elite, mod, skill: 0, towers: [[DIVE, 10, 6]] });
|
||||
const t = ts[0];
|
||||
assert.deepEqual(formOf(tier, elite).talents.find((x) => x.index === 1).bb, { max_hp: 0.12, def: 0.12, atk: 0.12 });
|
||||
approx(t.s.atk, t.base.atk + 0.12 * u.s.atk, `${label(f)}: ATK`);
|
||||
approx(t.s.def, t.base.def + 0.12 * u.s.def, `${label(f)}: DEF`);
|
||||
approx(t.s.maxHp, t.base.maxHp + 0.12 * u.s.maxHp, `${label(f)}: max HP`);
|
||||
assert.deepEqual(formOf(tier, elite).talents.find((x) => x.index === 1).bb, { max_hp: 0.15, def: 0.15, atk: 0.15 });
|
||||
approx(t.s.atk, t.base.atk + 0.15 * u.s.atk, `${label(f)}: ATK`);
|
||||
approx(t.s.def, t.base.def + 0.15 * u.s.def, `${label(f)}: DEF`);
|
||||
approx(t.s.maxHp, t.base.maxHp + 0.15 * u.s.maxHp, `${label(f)}: max HP`);
|
||||
// her ATK rises: the 鼓舞 follows within a second
|
||||
h.b.addBuff(u, { key: 'test:atk', mods: { atkPct: 1 } });
|
||||
h.run(1.05);
|
||||
approx(t.s.atk, t.base.atk + 0.12 * u.s.atk, 'updated every second');
|
||||
approx(t.s.atk, t.base.atk + 0.15 * u.s.atk, 'updated every second');
|
||||
// a summon's own ATK +% does not scale it
|
||||
h.b.addBuff(t, { key: 'test:tatk', mods: { atkPct: 0.5 } });
|
||||
h.run(1.05);
|
||||
approx(t.s.atk, t.base.atk * 1.5 + 0.12 * u.s.atk, 'after its multipliers');
|
||||
approx(t.s.atk, t.base.atk * 1.5 + 0.15 * u.s.atk, 'after its multipliers');
|
||||
// a stronger 鼓舞 of another source stays
|
||||
h.b.addBuff(t, { key: 'inspire', mods: { atkFlat: 5000 }, duration: 30, data: { src: -1, val: 5000 } });
|
||||
h.run(1.05);
|
||||
@@ -173,7 +173,7 @@ test('S1 律动线: +1 held; she and her summons DEF +40 % / +60 % and a 屏障
|
||||
assert.deepEqual(bt.shieldType, ['phys', 'arts', 'true'], 'not 元素伤害');
|
||||
// the knocked-out one comes back during the skill: its 屏障 counts its 鼓舞 HP
|
||||
assert.ok(h.runUntil(() => late.alive, 21), 'back during the skill');
|
||||
approx(late.findBuff('radian:s1:barrier').shield, (late.base.maxHp + 0.12 * u.s.maxHp) * sk.bb.hp_ratio, 'with 鼓舞 HP');
|
||||
approx(late.findBuff('radian:s1:barrier').shield, (late.base.maxHp + 0.15 * u.s.maxHp) * sk.bb.hp_ratio, 'with 鼓舞 HP');
|
||||
h.runUntil(() => !u.skill.active, 30);
|
||||
assert.ok([u, t, late].every((x) => !x.findBuff('radian:s1:barrier')), 'gone at its end');
|
||||
assert.equal(t.findBuff('radian:s1:tower'), null, 'DEF back');
|
||||
|
||||
Reference in new issue
Block a user