Add the Scintillants: four new shop legendaries and a golden Stardust Dragon
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>
This commit is contained in:
parent
2e1d10086a
commit
1fa8d4d80d
17 changed files with 472 additions and 15 deletions
|
|
@ -70,15 +70,19 @@ test("the shop pack mixes active collections with its featured cards at the conf
|
|||
};
|
||||
const draws = Array.from({ length: 40000 }, () => drawShopPack(shopCatalog, "stardust", random, 50)).flat();
|
||||
const legendaries = draws.filter((id) => rarityOf(id) === "legendary");
|
||||
const dragons = legendaries.filter((id) => id === "stardust-dragon-standard").length;
|
||||
assert.ok(Math.abs(dragons / legendaries.length - 0.5) < 0.03, `part observée : ${dragons / legendaries.length}`);
|
||||
// La part réglée revient à l'ensemble des légendaires de la collection, partagée à égalité entre elles.
|
||||
const featured = legendaries.filter((id) => sourceOf(id) === "stardust");
|
||||
assert.ok(Math.abs(featured.length / legendaries.length - 0.5) < 0.03, `part observée : ${featured.length / legendaries.length}`);
|
||||
const scintillants = new Set(featured);
|
||||
assert.ok(scintillants.size >= 5 && scintillants.has("stardust-dragon-standard"));
|
||||
for (const id of scintillants) assert.ok(Math.abs(featured.filter((drawn) => drawn === id).length / featured.length - 1 / scintillants.size) < 0.03, id);
|
||||
assert.ok(Math.abs(legendaries.length / draws.length - 0.03) < 0.003);
|
||||
assert.deepEqual(new Set(draws.map(sourceOf)), new Set(["primordial-nebula", "astral-genesis", "stardust"]));
|
||||
// Seules les légendaires et mythiques de la collection sont mises en avant ; une part nulle ne tire jamais le Dragon.
|
||||
// Seules les légendaires et mythiques de la collection sont mises en avant ; une part nulle n'en tire jamais.
|
||||
assert.ok(draws.filter((id) => sourceOf(id) === "stardust").every((id) => ["legendary", "mythic"].includes(rarityOf(id))));
|
||||
assert.ok(!Array.from({ length: 3000 }, () => drawShopPack(shopCatalog, "stardust", random, 0)).flat().includes("stardust-dragon-standard"));
|
||||
// Le Dragon ne sort d'aucun autre paquet, et une collection fermée quitte le paquet de la boutique.
|
||||
assert.ok(!Array.from({ length: 3000 }, () => [...drawPack(shopCatalog, "primordial-nebula", random), ...drawPack(shopCatalog, "astral-genesis", random)]).flat().includes("stardust-dragon-standard"));
|
||||
assert.ok(!Array.from({ length: 3000 }, () => drawShopPack(shopCatalog, "stardust", random, 0)).flat().some((id) => sourceOf(id) === "stardust"));
|
||||
// Les Scintillants ne sortent d'aucun autre paquet, et une collection fermée quitte le paquet de la boutique.
|
||||
assert.ok(!Array.from({ length: 3000 }, () => [...drawPack(shopCatalog, "primordial-nebula", random), ...drawPack(shopCatalog, "astral-genesis", random)]).flat().some((id) => sourceOf(id) === "stardust"));
|
||||
const closed = structuredClone(shopCatalog);
|
||||
closed.collections.find((item) => item.id === "astral-genesis").active = false;
|
||||
assert.ok(!Array.from({ length: 3000 }, () => drawShopPack(closed, "stardust", random, 50)).flat().some((id) => sourceOf(id) === "astral-genesis"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue