feedback5 WE2: 自选 summon hand counts include the tokens' own deploy talents (#21)
tools/build-data.mjs tokenTalentDeckBonus adds a summon's talent max_deploy_count / max_deck_stack_cnt (the hidden "TOKEN数" talent; a module token part of the same talent replaces it, matched by prefabKey) to its variant deployLimit / deckStack. Regenerated offline: only data/backups.json tokens of 麦哲伦 (drones), 令 (souls), 白铁 (devices) and 夜莺 (幻影) changed — deployLimit 3 / 4 with SUM-Y stage 3, 2, 3; deckStack 5 (8), 3 (4). The hand count (player/diy.js placeableTokens) now matches the official one for every 自选 summoner (PRTS 卫戍协议/帮助 "根据召唤物部署数量上限", the owners' talents, PRTS 幻影 备注). The summoner kits read deckStack / deployLimit as they are (same decks as before). Golden: no scenario moved (the diy family places no summon pieces).
This commit is contained in:
1 parent
a009d77d71
commit
99d8807328
12 files changed
+165
-33
No files matched your search
@@ -231,8 +231,6 @@ export default {
|
||||
talents: [
|
||||
{ install(battle, unit) { // 卡带里的灵感: the deck of her summon pieces and their kit
|
||||
const cnt = Math.max(0, Math.floor(num(t0.cnt)));
|
||||
const tdef = tokenId ? battle.tokenDef(tokenId, unit) : null;
|
||||
const extra = num(tokTalent(tdef, 'max_deploy_count')?.bb?.max_deploy_count, 0);
|
||||
const ratios = { atk: num(t1.atk), def: num(t1.def), hp: num(t1.max_hp) };
|
||||
const inspireOne = (s) => {
|
||||
if (!up(unit)) return;
|
||||
@@ -250,8 +248,8 @@ export default {
|
||||
summonDeck(battle, unit, {
|
||||
tokenIds: TOWERS,
|
||||
charge: cnt,
|
||||
cap: num(tokenId ? tokenStat(battle, unit, tokenId, 'deckStack') : cnt, cnt) + num(tokTalent(tdef, 'max_deck_stack_cnt')?.bb?.max_deck_stack_cnt, 0),
|
||||
maxDeployed: num(tokenId ? tokenStat(battle, unit, tokenId, 'deployLimit') : 1, 1) + extra,
|
||||
cap: num(tokenId ? tokenStat(battle, unit, tokenId, 'deckStack') : cnt, cnt),
|
||||
maxDeployed: num(tokenId ? tokenStat(battle, unit, tokenId, 'deployLimit') : 1, 1),
|
||||
kit: (t) => towerKit(t, unit, opts),
|
||||
});
|
||||
// her skills on the standing summons at each start / end (a summon deployed meanwhile syncs itself); 鼓舞 again
|
||||
|
||||
Reference in new issue
Block a user