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>
This commit is contained in:
Shinuwa 2026-11-24 10:38:14 +01:00
parent 461aa4e7c5
commit f73ea72d64
7 changed files with 20 additions and 9 deletions

View file

@ -2395,8 +2395,8 @@ test("an administrator opens expeditions and a player leaves alone, follows the
await expect(summary.getByRole("list", { name: "Stats", exact: true }).getByRole("listitem")).toHaveCount(4);
await expect(sheet.getByRole("region", { name: "Améliorer", exact: true }).getByRole("button", { name: /^Améliorer · 70 Éclats$/ })).toBeVisible();
await expect(sheet.getByRole("heading", { name: "Équipements", exact: true })).toHaveCount(0);
// Une légendaire franchit ses paliers d'Éveil à 85 puis 100 : l'amélioration annonce le prochain.
await expect(sheet.getByRole("region", { name: "Améliorer", exact: true })).toContainText("Améliorez de préférence avec les Éclats : vos doublons pourront servir à l’Éveil de votre carte (prochain Éveil : Puissance\u00a085).");
// Une légendaire franchit ses paliers d'Éveil à 85 puis 100 : l'amélioration annonce le prochain et les doublons à garder.
await expect(sheet.getByRole("region", { name: "Améliorer", exact: true })).toContainText("Améliorez de préférence avec les Éclats : vos doublons pourront servir à l’Éveil de votre carte (prochain Éveil : Puissance\u00a085). Gardez 2 doublons de cette carte pour faire tous les Éveils restants.");
await sheet.getByRole("region", { name: "Améliorer", exact: true }).screenshot({ path: join(tmpdir(), "sokkog-cards-upgrade-tip.png") });
await partner.keyboard.press("Escape");
// Devant le palier (Puissance 80), l'Éveil remplace l'amélioration aux Éclats : le joueur a un doublon du Loup, qui l'éveillerait.