Give destination cards on the first visit, in expedition loot and to group members

A player with no destination card receives one from the Carnets on their first visit to open expeditions. Expedition loot can hold a Carnets destination card the player does not own yet, and a group member without the card of the group's destination has a strong chance to get it. Both chances are expedition settings, and destination cards never drop as ordinary Carnets cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-16 16:03:52 +01:00
parent 06a4ab6d6a
commit 39dbeb9e2b
11 changed files with 115 additions and 13 deletions

View file

@ -22,7 +22,8 @@ const EVENT_LABELS = {
expedition_dissolved: "Groupe d’expédition dissous",
card_upgraded: "Carte améliorée",
eclats_converted: "Éclats d’étoile obtenus",
item_used: "Objet utilisé"
item_used: "Objet utilisé",
destination_starter: "Carte de destination offerte"
};
// Le journal garde la quantité réellement offerte : les comptes plus anciens n'ont reçu qu'une ouverture.
@ -72,6 +73,7 @@ function HistoryDetail({ entry, catalog }) {
const detail = details.destinationName ? `${details.destinationName}${details.recalledPct != null ? ` · rappel à ${details.recalledPct} %` : ""}` : details.tag ? `${cardReference(details.editionId, catalog)} · étiquette gravée` : "";
return <span>{[name, detail].filter(Boolean).join(" · ")}</span>;
}
if (entry.type === "destination_starter") return <span>{cardReference(details.editionId, catalog)} · par la Guilde des Veilleurs</span>;
if (entry.type === "eclats_converted") return <span>+{details.eclats} Éclats · −{formatStardust(details.stardust)} d’étoiles</span>;
if (entry.type === "opening_purchased") return <span>{details.count > 1 && `${details.count} ouvertures · `}−{formatStardust(details.stardust ?? details.price)} d’étoiles</span>;
if (!details.collectionId) return null;

View file

@ -103,7 +103,7 @@ export const EXPEDITION_SETTING_GROUPS = [
{
id: "powers",
title: "Pouvoirs et Carnets des Veilleurs",
help: "Avantage et contrepartie de chaque pouvoir des communes des Carnets (chaque pouvoir compte une fois par équipe), et chance de rapporter une carte des Carnets.",
help: "Avantage et contrepartie de chaque pouvoir des communes des Carnets (chaque pouvoir compte une fois par équipe), chance de rapporter une carte des Carnets, et cartes de destination (une non possédée par expédition, celle de la destination d’un groupe rejoint sans l’avoir).",
fields: [
{ path: "powers.longsightPackPct", label: "Longue-vue : chance de paquet en plus", unit: "%" },
{ path: "powers.longsightExtraHours", label: "Longue-vue : trajet en plus", unit: "h" },
@ -118,7 +118,9 @@ export const EXPEDITION_SETTING_GROUPS = [
{ path: "powers.fogBellSynergyPct", label: "Cloche de brume : synergie en plus, en groupe", unit: "%" },
{ path: "powers.fogBellSoloLootPct", label: "Cloche de brume : butin en moins, en solo", unit: "%" },
{ path: "carnets.cardPerHourPermille", label: "Chance d’une carte des Carnets par heure", unit: "‰" },
{ path: "carnets.maxCards", label: "Cartes des Carnets au plus par expédition" }
{ path: "carnets.maxCards", label: "Cartes des Carnets au plus par expédition" },
{ path: "destinationCards.dropPct", label: "Chance d’une carte de destination non possédée", unit: "%" },
{ path: "destinationCards.groupJoinPct", label: "Groupe rejoint : chance d’obtenir la carte de sa destination", unit: "%" }
]
},
{