Reward specialists with Expertise and make the highest difficulties need equipment
A card is an expert of a required stat when it covers on its own twice the requirement of one place; each stat held by a different expert adds 8 % to the score, outside the synergy cap. Requirements rise for 3 to 5 stars and by 10 % per extra player, so a capped card without equipment rarely clears 5 stars while a reflected build does. A mythic now spreads as many level points as its legendary. Migration 21 drops stored requirements so the new defaults apply; the simulator builds teams with vocations and commons, and the balance test checks these targets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
fb8488de7f
commit
91ca8e39ef
16 changed files with 236 additions and 41 deletions
|
|
@ -4,7 +4,7 @@ import { fileURLToPath } from "node:url";
|
|||
import { loadCardsCatalog } from "../services/cards/catalog.js";
|
||||
import { loadExpeditionDestinations } from "../services/cards/expedition-content.js";
|
||||
import { DEFAULT_EXPEDITION_SETTINGS, mergeExpeditionSettings } from "../services/cards/expedition-settings.js";
|
||||
import { simulate } from "../services/cards/expedition-simulation.js";
|
||||
import { simulate, simulationCards, soloBuildShares, statCommons } from "../services/cards/expedition-simulation.js";
|
||||
|
||||
const root = fileURLToPath(new URL("..", import.meta.url));
|
||||
const catalog = loadCardsCatalog(`${root}website/public/data/cards/catalog.json`);
|
||||
|
|
@ -21,7 +21,13 @@ for (const row of report.byRarity) {
|
|||
const weakest = [...report.cardBest].sort((a, b) => a.scorePct - b.scorePct).slice(0, 10);
|
||||
console.log("\nCartes au meilleur score le plus bas en 2 ★ (niveau 0, seules) :");
|
||||
for (const card of weakest) console.log(` ${pct(card.scorePct)} ${card.cardId} (${card.rarity}) à ${card.destinationId}`);
|
||||
console.log(`\nDestinations où une rare au plafond triomphe seule en 4 ★ : ${(report.triumphShareAt4 * 100).toFixed(0)} %`);
|
||||
const commons = statCommons(catalog);
|
||||
const cards = simulationCards(catalog);
|
||||
console.log("\nCartes seules, part des situations réussies sans équipement / avec un build réfléchi (vocation et communes choisies pour la destination) :");
|
||||
for (const [power, stars] of [[55, 3], [70, 3], [85, 4], [100, 4], [100, 5]]) {
|
||||
const { bare, built } = soloBuildShares(cards, destinations, power, stars, commons, settings);
|
||||
console.log(` Puissance ${String(power).padStart(3)}, ${stars} ★ : ${pct(bare * 100)} / ${pct(built * 100)}`);
|
||||
}
|
||||
console.log(`Puissance au plafond : rare ${report.rareVsMythicAtMax.rare}, mythique ${report.rareVsMythicAtMax.mythic}`);
|
||||
console.log("\nÉclats espérés par heure (durées " + settings.durations.hours.join(" / ") + " h) :");
|
||||
for (const row of report.lootPerHour) console.log(` ${row.stars} ★ ${row.tier.padEnd(9)} ${row.perHour.map((value) => value.toFixed(2)).join(" / ")}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue