Let players compare card stats in the collection, rebalance card profiles with a full refunded reset of upgrades, and fix best boosts that sometimes fired in the previous zone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4a44306e30
commit
3590df5e1e
31 changed files with 1515 additions and 211 deletions
|
|
@ -13,7 +13,7 @@
|
|||
* @see docs/expeditions/equilibrage.md
|
||||
*/
|
||||
|
||||
import { allocationError, awakeningPower, awakeningsAhead, cardExpeditionData, clampAllocation, editionExpeditionData, fieldXpPct, gainProgress, levelPoints, maxLevel, maxStatPoints, PLAN_IDS, planStats, SHOP_ITEM_PRICES, splitPower, STAT_IDS, upgradeCost, VOCATION_IDS } from "./expedition-rules.js";
|
||||
import { allocationError, awakeningPower, awakeningsAhead, clampAllocation, editionExpeditionData, fieldXpPct, gainProgress, levelPoints, maxLevel, maxStatPoints, PLAN_IDS, planStats, SHOP_ITEM_PRICES, splitPower, STAT_IDS, upgradeCost, VOCATION_IDS } from "./expedition-rules.js";
|
||||
|
||||
function fail(status, code, message) {
|
||||
throw Object.assign(new Error(message), { status, code });
|
||||
|
|
@ -77,7 +77,8 @@ export const progressMethods = {
|
|||
* gratuit tant que la carte suit sa collection, ou en libre sans aucun point placé (après une réinitialisation).
|
||||
*/
|
||||
planView(data, progress, settings) {
|
||||
const profile = cardExpeditionData(this.cards.catalog, data.cardId).profile;
|
||||
// Le profil de l'édition : une mythique peut avoir le sien (editionExpeditionData).
|
||||
const { profile } = data;
|
||||
const points = levelPoints(data.rarity, data.level, settings);
|
||||
const plan = progress.plan ?? "collection";
|
||||
const preview = (id) => planStats(data.rarity, data.level, profile, { plan: id }, settings);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue