Commit graph

262 commits

Author SHA1 Message Date
7ed63fff49 Add the race screen of the daily team
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:02:57 +01:00
08c3c8f6a2 Add the recruitment screen of the daily team
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 21:45:37 +01:00
71cf739a2e Add the rules, storage and API of the daily team and its race
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 21:14:36 +01:00
880f007cce Rework the daily card page around what the player knows and hints opened in any order
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m0s
Validate and deploy Sokko G / deploy (push) Successful in 15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:01:43 +01:00
d5c2900eed Replace the rarity hint of the daily card with the theme of its name
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 20m47s
Validate and deploy Sokko G / deploy (push) Has been skipped
The rarity alone left 71 cards out of 246 and only helped to filter the album; the theme leaves 15 and helps every player. It opens after three wrong guesses and is no longer offered once a guess has found it. Games that had flipped the rarity get their hint back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:48:50 +01:00
62042c4c36 Compare the subject and theme of each daily guess, let players choose their hints and find cards by related words
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m58s
Validate and deploy Sokko G / deploy (push) Successful in 17s
Collection and rarity hints only helped players who owned the daily card. Each guess now shows the common part of its subject and whether the theme of its name matches. A wrong guess earns one hint of the player's choice, the same list for everyone so that nothing reveals the ownership: album, rarity, collection, damaged page or name shape. Hidden words never leave the server, and the ownership is the one of the draw.

The guess list also finds a card by a related word, and the album no longer searches the description of unknown cards. Principles and data: docs/carte-du-jour.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:09:08 +01:00
5a794e5220 Make the mythic rarity prismatic, centralize rarity colors and show rarity symbols in the history
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 20m39s
Validate and deploy Sokko G / deploy (push) Has been skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:52:20 +01:00
9739189f0c Give each pack collection its own power common, fix redundant commons and spell out powers in the interface
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m49s
Validate and deploy Sokko G / deploy (push) Successful in 16s
The Nebula, the Long Night, the Dream Arcade and the Crimson Procession now each have two power commons: Adaptation and one of their own (Étude, Givre d'étoiles, Trouvaille, Chance de l'aube). Eight other commons change stats and four gain a tag, so that no common is dominated by another with the same effect and Bravoure can be equipped like the other stats. Commons that became power commons are taken off the cards that carried them.

Card sheets, the equipment window, placed commons and the departure preview show every power's gains and costs with their figures, and the preview says when a power has no effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:18:38 +01:00
6726a59285 Let expedition and shop cards awaken with duplicates from any collection
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
Les Carnets des Veilleurs and Poussières d'étoiles do not come from regular
openings, so their own duplicates are too rare for awakenings. Their cards now
follow the rule of closed collections: duplicates of the same rarity from any
collection, at the same count. The balance guide records the reasons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:48:54 +01:00
268e9faa88 Show available Éclats and duplicates under the card on the upgrade tab
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
Two tiles under the card give the player's Éclats and the free duplicates of
the card. They replace the Éclats count in the upgrade help text and are
hidden once the card reaches the maximum power.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:32:01 +01:00
f73ea72d64 Tell players how many duplicates to keep for a card's remaining awakenings
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m57s
Validate and deploy Sokko G / deploy (push) Successful in 16s
The upgrade tip now gives the number of duplicates of the card needed for
every awakening still ahead. Two tiers crossed by the same level count as one
awakening.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:38:14 +01:00
461aa4e7c5 Show group requirements with the player before they join an expedition
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m53s
Validate and deploy Sokko G / deploy (push) Successful in 17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:24:18 +01:00
63ddb02c5d Add Le Cortège de la Lune Écarlate, the permanent ukiyo-e Sokko TCG collection
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m42s
Validate and deploy Sokko G / deploy (push) Successful in 18s
Add its 31 cards, its destination L'Île aux Cent Lanternes, five expedition
tags and the collection profile. The collection stays closed until an
administrator sets its drop rates and opens it.

Also clean the backdrop layer behind the wolf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 23:59:03 +01:00
3b2dae0168 Refuse layered finishes without their files and lighten idle particle cards
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m53s
Validate and deploy Sokko G / deploy (push) Successful in 14s
The catalog now marks the prismatic parallax as a layered effect, and the
service refuses to create a variation or change its finish to it when the card
lacks the cutout and backdrop for that format; existing variations stay as they
are. A test keeps the interface and the server in agreement for every card and
finish. Particle cards no longer hold canvas pixels at rest, build their motif
sprites on first use from a cache shared by all cards, and fade remaining
twinkles and fireflies within half a second once the pointer leaves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:06:20 +01:00
6737a89a1c Let administrators save particles on mythic variations
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m41s
Validate and deploy Sokko G / deploy (push) Successful in 14s
Lightning, twinkles and fireflies move from a visual lab prototype to real
settings. The catalog declares the animations, their motifs, sliders and zones;
migration 24 stores each variation's particles; the service validates and
normalizes them behind a dedicated admin route and records the change in the
history. Published editions carry the particle fields, so every card of the
variation shows them in collections, card sheets and openings. The Particles
tab of the variation editor now saves with the same Enregistrer button as the
finish and tunings, including when a variation is created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:44:32 +01:00
f77a0ca577 Prototype lightning, twinkle and firefly particles in the visual lab
The Particles tab of the visual lab now previews three persistent particle
animations for mythic cards, drawn on a canvas inside the illustration or over
the whole card. Lightning bolts grow from the edges towards a random point near
the hero and pass behind a cut-out hero with the prismatic parallax. Twinkles
pop chosen motifs in and out with a light cross at their peak. Fireflies drift
on winding paths, pulse and move away from the pointer. Each animation offers a
palette, a zone and its own sliders, runs only on a large or hovered card, and
stays still under reduced motion. Nothing is saved on the variations yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:07:22 +01:00
9f70bea523 Reorganise the visual lab and mythic variations around a Holo and Particles panel
The visual lab becomes a single bench: one thumbnail per holographic effect picks
the effect, and a large card sits beside the shared customisation panel. The
mythic editor shows its variations as a row of thumbnails above the settings of
the selected one, with a large card preview, and saves them with a single
Enregistrer / Annuler pair instead of saving each slider. Formats and effects
whose files a card lacks stay in their menu, disabled at the bottom with the
missing files listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:33:18 +01:00
808adadc0c Add the shattered ice effect and five-step tunings for mythic variations
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m39s
Validate and deploy Sokko G / deploy (push) Successful in 14s
« Glace brisée » joins the holographic effects: a seamless shard mosaic in four
facet groups that each light up near their own tilt, with glinting cracks; in
the standard layout it covers the frame and text and stays under the artwork.
Its masks come from scripts/generate-shattered-ice-textures.mjs.

Each mythic variation now tunes its palette intensity and, when the effect
declares one, its own level (prism speed, parallax amplitude, shard size), from
1 to 5 with 3 as the reference render. Tunings are stored on mythic_variations,
set with range sliders when a variation is created or later in the mythic
editor, logged in the history and previewed in the Visual Lab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:40:24 +01:00
efdb5c558c Replace the prismatic backdrop with a prismatic parallax and redraw the Long Night legendaries
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m36s
Validate and deploy Sokko G / deploy (push) Successful in 17s
The prismatic-backdrop finish, now labelled « Parallaxe prismatique », lays a
card's cut-out hero over a backdrop without it and shifts both with the tilt,
the palette tinting the backdrop, lighting each layer's highlights and fringing
the hero. Cards declare the backdrop next to the cutout (backdropImage,
fullBackdropImage), validated by name. The Visual Lab is back to its usual
effect cards. The three Long Night legendaries are redrawn in the collection's
style, and La Pioche Mythique gets its parallax layers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:06:37 +01:00
3f70a5638d Let administrators change the finish of an existing mythic variation
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m37s
Validate and deploy Sokko G / deploy (push) Successful in 16s
A variation keeps its edition id when its holographic finish changes, so
players keep their copies, duplicates, expedition progress and equipment.
A unique index on (card_id, finish_id) replaces the id-derived uniqueness,
and new variations get a suffixed id when the original one is taken.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:50:15 +01:00
a52f89e9d5 Load the Sokko TCG styles with the cards route
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 20m30s
Validate and deploy Sokko G / deploy (push) Has been skipped
The cards and Expeditions sheets were a quarter of the CSS every visitor
downloaded. cards-route.scss now bundles them with CardsPage; only the
menu icon stays in main.scss. The sheets that followed them in main.scss
(checklist, NDS attributes, responsive) are re-emitted after them so
equal-specificity rules keep the same winner: the common sheet without
them plus the route sheet rebuilds the previous CSS byte for byte, and a
test keeps the list in step with main.scss. Common CSS goes from 94 243
to 69 413 bytes gzip and its budget from 100 000 to 75 000.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:23:14 +01:00
d2ef3b098c Let administrators set the opening reserve size
The reserve was fixed at 5 by CHECK constraints on players and
recharge_settings. Migration 21 rebuilds both tables with foreign keys
off and checks them before committing; the reserve now goes from 1 to 50
and is set next to the recharge delay. A raised reserve restarts the
recharge of full players at once, a reduced one keeps their extra
openings, and the player counter shows the configured maximum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:02:01 +01:00
fd47514d81 Freeze pack rates in a campaign when it is created
A gifted pack using the pack's own rates was drawn with whatever rates
were in force when the player opened it. Campaigns now copy those rates
at creation (packRates), every pack of the code draws with them, and the
reveal shows them. Older campaigns keep following the live rates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:50:51 +01:00
2f02c761a8 Read the expedition settings once per TCG state
The settings getter reread and remerged the SQL row on every access, seven
times per getState. getState now builds the state inside a settings
snapshot scoped to that synchronous build and released even on error, so
an administrator's change still shows in the next state. An empty account
now prepares 42 statements instead of 48.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 12:27:52 +01:00
632cc06a16 Read the health address and roll back correctly in the deploy script
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m48s
Validate and deploy Sokko G / deploy (push) Successful in 15s
Run 324 polled 127.0.0.1:5173 instead of the service's HOST and PORT:
each env file overwrote the value found in the previous one, even when it
did not define the variable, so the check failed against a healthy server.
The rollback then stopped at once, because its local previous_commit
redeclared the read-only global of the same name.

A file now keeps the value of the previous one unless it defines the
variable, and the rollback uses its own name. A test runs the lookup on
real env files and another forbids locals that shadow read-only globals;
both fail on the previous script. The fix applies once the script is
reinstalled on the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 11:44:54 +01:00
2831f01195 Let the cards E2E server raise the development login limit
Some checks failed
Validate and deploy Sokko G / validate (push) Successful in 22m38s
Validate and deploy Sokko G / deploy (push) Failing after 43s
Development logins were capped at a hard-coded 10 per minute per address.
The cards E2E suite logs in 21 times, and with the test added in 067a4a8
the expedition test's login became the eleventh within one minute: it got
"Trop de tentatives", never reached the admin guild tab and timed out in
CI. The limit is now the devAuthRateLimit option, still 10 by default, and
the E2E server raises it as it already did for apiRateLimit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 10:13:17 +01:00
067a4a8fd6 Fix the audit's concurrency, stale state and delivery findings
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 19m40s
Validate and deploy Sokko G / deploy (push) Has been skipped
Share uploads now reserve their slot, bytes and per-IP count before the
disk check, so simultaneous uploads can no longer exceed the limits.
Writes to a share's metadata run one after another, and a revocation can
no longer be undone by a pending read count.

The TCG page ignores a state reload that started before or during a
mutation, the last mutation wins, and returning to the page triggers a
single reload. The card cache confirms writes only once the IndexedDB
transaction completes and shows only the current player's copy. The
administration panel loads on demand, which shrinks the TCG chunk from
311.6 to 191.8 kB.

A new /api/health route answers 503 when the cards or shares API failed
to start. The deploy script ships the commit's production dependencies
with the build, waits up to 30 s for a healthy server instead of trusting
systemctl is-active, and restores node_modules on rollback. Both Forgejo
workflows check the route on the public site. The updated script applies
once reinstalled on the server.

Unused helpers, the ignored join role and duplicate button selectors are
removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:38:20 +01:00
3dcc0b6f12 Cap collection destinations in the daily expedition draw and always give a Watchers' starter destination
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m35s
Validate and deploy Sokko G / deploy (push) Successful in 13s
The daily draw now proposes at most day.maxCollectionDestinations (default 2)
destinations linked to a collection, unless the player lacks other
destinations to fill the day. The starter destination card is now granted to
any player without a Watchers' Logbooks destination, even if they already own
collection destination cards from packs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:44:30 +01:00
c73a118ffb Let players who join a group set up their card and say when they are ready
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m30s
Validate and deploy Sokko G / deploy (push) Successful in 13s
Joining a group froze the card's stats at once and locked its
equipment, so a joining player could not equip anything. Joining now
uses the same card frame as the preparation: card, equipment and
"Améliorer la carte". Everything stays editable after joining, and the
group counts the card as it is, until the player clicks "Prêt". That
freezes the card's stats. "Modifier ma préparation" reopens it.

The creator sees each member as "Prêt" or "En préparation", with a
ready count, and can still leave at any time. A player who is not
ready leaves with their card as it is at departure. A migration marks
existing members as ready, since their stats were already frozen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:24:23 +01:00
c1ef7b6ce7 Show the expedition's state on the Guild tile button
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m12s
Validate and deploy Sokko G / deploy (push) Successful in 12s
The Expeditions tile now reads "En cours" while an expedition is on its
way, "Récupérer le butin" once one has returned, and "Préparer"
otherwise. The tile also refreshes at the next return time, so the
button switches to the loot without reloading the page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:11:40 +01:00
99724cb6ba Add campaign filter and duplication, pack activity, and gift pack rate fallback
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m9s
Validate and deploy Sokko G / deploy (push) Successful in 17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:48:15 +01:00
048d9a0c91 Let closed-collection cards awaken with duplicates from any collection
A closed collection no longer sells packs, so its legendaries could
barely awaken. Its cards now accept substitute duplicates of their
rarity from any collection, at the same 6/2/1 count. The Watchers'
Logbooks never count as closed. The awakening sheet and picker say so,
and a daily tip and the balance guide explain the rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:29:43 +01:00
1fa8d4d80d Add the Scintillants: four new shop legendaries and a golden Stardust Dragon
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
The shop collection (Poussières d'étoiles) now has its own lore: the Scintillants, ordinary animals turned into living treasures by the gold dust left from the scales the Dragon du Néant Étoilé lost at the beginning of the world. The shop pack now features five legendaries instead of one: the Stardust Dragon, the Écureuil du Grenier d'Or, the Tortue au Coffre d'Étoiles, the Panthère aux Pépites d'Or and the Carpe Koï des Courants d'Or (new personnage:koi tag).

The Stardust Dragon keeps its scene but is redrawn gold and ivory with straight crystal horns, so it no longer looks like the mascot. Its text now tells where it comes from, and it becomes a Fortune specialist like the other legendaries. Each Scintillant has a 45 % specialty and a 10 % weakness. The collection has no commons: the shop pack never draws them, and the Scintillants find synergy partners through theme:poussiere and theme:tresor commons of other collections.

The shop pack test now checks that the configured share goes to the whole collection, split evenly between its legendaries, instead of to the Dragon alone. Lore, style guide, balance guide and the card-by-card illustration prompts are documented.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:05:32 +01:00
2e1d10086a Show each daily tip's part of the game as a coloured badge
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m10s
Validate and deploy Sokko G / deploy (push) Successful in 12s
A tip now carries its part of the game (section) and an optional short topic. The part shows as a badge with one colour per part: Expéditions green, Paquets violet, Collection grey, Échanges et dons gold, Carte du jour orange. The topic sits beside it as the title, so "Expéditions · Améliorer ses cartes" becomes [Expéditions] Améliorer ses cartes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:04:39 +01:00
e8ec657193 Add a daily tip to the Sokko TCG home that explains hidden mechanics
39 short tips cover packs, collection, trades, the daily card and Expeditions (getting cards, succeeding, groups, loot, improving cards, bag items). Each one has a topic that starts with its part of the game, such as "Expéditions · Réussir". Every figure comes from the current settings through tipValues(), so a tip follows an admin change. Expedition tips only show while Expeditions are open. The tip of the day is the same for everyone, "Astuce suivante" shows the next ones, and the card sits under the key figures so the home still fits a 1280 × 720 screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:56:01 +01:00
d863964a5d Advise players to level with Éclats and keep duplicates for awakenings
Duplicates now matter for awakening tiers, so the upgrade section of a card sheet says so while a tier lies ahead: level up with Éclats and experience, keep duplicates for awakenings. The bulk recycling box reminds that rare, epic and legendary duplicates also awaken cards once the player goes past commons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:28:39 +01:00
83ac709907 Reword bulk recycling and awakening texts, and list only the recycled rarities
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m11s
Validate and deploy Sokko G / deploy (push) Successful in 13s
The confirmation said "rareté Commun ou plus commune": it now names the recycled rarities ("Vos doublons communs, rares et épiques deviennent …") and its value list keeps only those rarities. The box no longer reads "0 doublon … +0 poussière", and the awakening texts say "6 doublons rares" instead of "doublons de rareté Rare". The history no longer shows "−undefined Éclats" for an awakening with duplicates of the collection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:20:42 +01:00
0533a8f766 Let players pick the duplicates that awaken a card, shown as cards
The awakening with duplicates of the collection used to take them automatically, without showing them. It now opens a picker like the Atelier: the needed slots at the top, the usable duplicates below as illustrated cards with their free copies, and nothing is used before "Éveiller". The server lists the candidates and checks the chosen copies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:05:36 +01:00
8b76570e7a Fix pack openings failing when they draw a destination card already owned
The server builds the card service without a random source. Pack draws fall back to crypto randomness, but replacing a destination card the player already owns called the missing source and threw "this.random is not a function". The service now defaults to crypto randomness itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 09:54:56 +01:00
0ecb2cdbc5 Make duplicates awaken cards at Power 70, 85 and 100
Opening packs stays useful once a collection is complete: the level that reaches an awakening tier can no longer be bought with Éclats, a duplicate or field experience. The card awakens without Éclats, with one of its own duplicates (a mythic also takes its legendary version) or with duplicates of its collection and rarity: 6 rares, 2 epics or 1 legendary, numbers that follow the 24/8/3 drop rates so a tier costs about the same packs at every rarity. Tiers and counts are admin settings, and the balance guide records the simulations and the options set aside.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 09:40:41 +01:00
c7f951920e Recycle duplicates in bulk up to a chosen rarity, never mythics
The collection page asks how far the bulk recycling goes (Common by default) and its preview follows that choice, so duplicates kept for later uses are not lost with the rest. Mythic duplicates are only recycled one by one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 09:26:25 +01:00
fb951e4510 Balance the remaining powers per real hour, scale loot caps and field experience with duration, and count each resonance once
- The spyglass trades a quarter more travel for more cards and one more at the cap, rations are neutral per hour, the shooting-star net scales with the chosen hours and costs Fortune per place, the storm lantern adds 10 % of travel instead of a fixed hour, and the fog bell's group bonus sits outside the synergy cap.
- Card and object caps grow with each 6 hours chosen, and field experience with each 2 hours, so long expeditions are no longer held back by the caps of short ones.
- Each resonance needs its own pair of cards, "Étoiles sœurs" becomes "Thème partagé", and the bonuses say when the cap absorbs part of them.
- Every stat is a secondary stat for two vocations, and the simulator's reflected builds can pick Adaptation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 23:03:42 +01:00
5a9cc42073 Give explicit trades their own profiles, fix equipment that contradicts its text, and make destinations ask for complementary cards
- Guardians, guides, cartographers, pilots, gardeners and lucky charms get a few shared profile archetypes instead of their collection's, and a catalog profile stays at 50 % or less per stat.
- The Dream Arcade legendaries' emblems now build their two strengths without a penalty, like the Nebula's, and the Mystery block names the Dragon.
- Crystal hearts, the save crystal, the reunion lantern, the yule log, the camp roast, the storage box and the shooting star now do what their text says.
- Six destinations no longer let the same tag meet the condition and parry a danger, the Aurora sky asks for Bravoure first and the feast for Fortune, and two Logbook rewards match their destination.
- The tag conventions are documented, and the hedgehog's sparks fall from the Dragon's scales, since it has no wings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:52:15 +01:00
9b0190c6eb 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>
2026-11-18 22:38:18 +01:00
feeab57711 Keep risk alive with the Talisman and the treasure map, and add an Adaptation power for weak stats
- The Talisman turns a near miss into a Réussite only from a 60 % score, still without Triomphe, so a weak team can fail and the Mad compass keeps its risk.
- The treasure map brings its rare object back only from a successful expedition.
- Adaptation, a power for a future common, adds 4 points to its card's weakest stat among those the destination requires, chosen for each destination.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:27:27 +01:00
ea5f5c9a51 Give the Primordials distinct weaknesses, emblems that build their specialty and constellations that guide their weakness
- Each Primordial has a 45 % specialty and its own 10 % weakness; its emblematic common raises its two strengths with the synergy on its specialty, and its constellation gives Orientation plus its weakness, without penalties.
- Commons declare the stat their synergy raises when stats tie and for power commons, so the bonus no longer falls on Bravoure by field order.
- Expertise is measured against the solo requirement, so it stays within reach when the group raises each place's requirement.
- Missing lore links become playable: the Dragon, Panda and Capybara own their emblems, Turtles and the Reindeer share an identity, and the Bat, the light-current Otters and the Aurora Wolf are recognised at their destinations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:23:43 +01:00
91ca8e39ef 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>
2026-11-18 22:16:06 +01:00
fc43444995 Give each player their own daily card and send only the visible crop of its illustration
Some checks failed
Validate and deploy Sokko G / validate (push) Successful in 22m10s
Validate and deploy Sokko G / deploy (push) Failing after 25s
- Each player draws their own daily card and zoom point on their first visit, so a shared answer no longer helps; the migration keeps past games with their day's shared card.
- The server crops the illustration with sharp to the part visible at the current zoom; the full image only arrives once the game is over.
- The admin overview shows the day's winners and players instead of a single card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 16:47:52 +01:00
98ffe6562c Add a loot legend, a foldable Watcher's bag and a mythic halo, and move card sheet and power texts to site.json
- The destinations step opens with a legend of the four loots and what the
  green and red arrows mean.
- The Watcher's bag folds into a strip of item art and counts; the choice is
  kept by the browser.
- Mythic cards wear a slowly turning prismatic ring across the expedition
  screens; it is visual only.
- The card sheet and the stats distribution read their texts from
  cards.cardSheet, and power descriptions and their figures from
  cards.expeditions.powerText and powerDetails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 15:44:44 +01:00
84b0d69b1f Keep the expedition view in sync with other players and only send alerts players still want
- The expeditions page rereads its view on its own: every 10 seconds while a
  group is shown, every 20 seconds otherwise, on tab return and at the next
  recruitment deadline; late responses no longer overwrite a newer action. A
  failed load offers "Réessayer" and a failed refresh keeps the last view.
- The periodic alert pass first departs groups whose recruitment ended, so
  their return is announced even if nobody visits the site.
- Queued alerts are checked again at sending time: a player who opted out or
  alerts switched off by the administration drop the message for good.
- The engraving confirmation sticks to the bottom of its window, the workshop
  lists commons by spare count, the guild expeditions card shows the Great
  Void, and stale help texts and comments are fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 15:24:39 +01:00