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
|
|
@ -58,11 +58,14 @@ export function editionEntry(catalog, editionId) {
|
|||
return card ? { editionId, edition, card } : null;
|
||||
}
|
||||
|
||||
// Badges des bonus de score d'un résultat : Affinité avec la destination, puis chaque Résonance.
|
||||
// Badges des bonus de score d'un résultat : Affinité avec la destination, chaque Résonance, puis chaque stat couverte par une
|
||||
// carte experte.
|
||||
export function synergyLabels(result, catalog, content) {
|
||||
const labels = [];
|
||||
if (result?.affinity) labels.push(fillTemplate(content.affinity, { tag: tagLabel(catalog, result.affinity) }));
|
||||
for (const resonance of result?.resonances || []) labels.push(fillTemplate(content.resonance, { type: content.resonanceTypes[resonance.type], tag: tagLabel(catalog, resonance.key) }));
|
||||
const each = result?.expertise?.length ? Math.round((result.expertisePct || 0) / result.expertise.length) : 0;
|
||||
for (const item of result?.expertise || []) labels.push(fillTemplate(content.expertise, { stat: content.stats?.[item.stat] ?? item.stat, value: each }));
|
||||
return labels;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue