Carry the Adaptation power on the Nebula pearl, the celestial gift and the adventurer's potion

Three commons whose story already gives each bearer what they lack now carry Adaptation instead of stats, one per collection: the Primordial Nebula, the Long Night and the Dream Arcade. The preview and group cards show the stat it raises next to the power's name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-18 22:37:47 +01:00
parent feeab57711
commit 9b0190c6eb
7 changed files with 24 additions and 22 deletions

View file

@ -401,10 +401,13 @@ test("a level costs Éclats by current power, so a rare pays the longer road to
test("commons carry equipment spread over a fixed budget, and every card has synergy partners", () => {
const commons = rawCatalog.cards.filter((card) => card.expedition?.equipment?.stats);
assert.equal(commons.length, 68);
assert.equal(commons.length, 65);
for (const card of commons) assert.equal(Object.values(card.expedition.equipment.stats).reduce((sum, value) => sum + value, 0), 6, card.id);
// Les communes des Carnets des Veilleurs portent chacune un pouvoir, et aucune stat.
assert.deepEqual(rawCatalog.cards.filter((card) => card.expedition?.equipment?.power).map((card) => card.expedition.equipment.power).sort(), ["fogBell", "longsight", "madCompass", "rations", "starNet", "stormLantern", "talisman", "treasureMap"]);
// Les communes des Carnets des Veilleurs portent chacune un pouvoir, et aucune stat ; l'Adaptation est portée par une commune de
// trois autres collections.
const powered = rawCatalog.cards.filter((card) => card.expedition?.equipment?.power);
assert.deepEqual(powered.filter((card) => card.collectionId === "watchers-logbooks").map((card) => card.expedition.equipment.power).sort(), ["fogBell", "longsight", "madCompass", "rations", "starNet", "stormLantern", "talisman", "treasureMap"]);
assert.deepEqual(powered.filter((card) => card.expedition.equipment.power === "attunement").map((card) => card.collectionId).sort(), ["dream-arcade", "long-night", "primordial-nebula"]);
assert.throws(() => prepareVersionedCatalog({ ...structuredClone(rawCatalog), cards: rawCatalog.cards.map((card) => (card.id === "mad-compass" ? { ...card, expedition: { ...card.expedition, equipment: { power: "flying" } } } : card)) }), /known power/);
const broken = (change) => {
const copy = structuredClone(rawCatalog);