Show a destination's affinity themes next to its condition and dangers

The destination panel now lists the themes that grant Affinité, with the score it adds and whether the chosen card carries one. A theme that is also the condition shows once, in the condition line, since a single card then meets both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-18 23:31:36 +01:00
parent 74021342eb
commit c6eb638b9e
3 changed files with 25 additions and 4 deletions

View file

@ -173,6 +173,8 @@ export class ExpeditionService {
return {
id: destination.id, name: destination.name, description: destination.description, coverCardId: destination.coverCardId ?? null, image: destination.image ?? null, stats: destination.stats, bonusSlot,
specialty: destination.specialty ?? null, rewardCollectionId: destination.rewardCollectionId ?? null, themeTags: destination.themeTags ?? [],
// Bonus de score de l'Affinité, affiché avec les thèmes de la destination.
affinityPct: settings.synergy.affinityPct,
level, star,
condition: hasCondition(star) ? entry.condition : null,
dangers: entry.dangers.slice(0, dangerCount(star)),