Rework the pending expedition card in two columns with a larger landscape, a clear outcome summary, card-sized slots and a one-hour default recruitment

A pending expedition now spans the full width in two columns: the destination landscape, the members as small cards with free slots of the same size, and the departure buttons on the left; the departure countdown with its time and progress bar, the projected outcome, powers and bonuses in small tiles, a recap of the destination's requirements against the team's stats, and the invite link on the right. The outcome tile shows the tier, the score and a sentence on how the tier changes the loot. Pending, running and finished expeditions use the destination landscape instead of the old cover card, and the default recruitment period drops from 12 hours to one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-17 20:16:00 +01:00
parent a38d4fd02a
commit 9b9d64fd01
9 changed files with 229 additions and 44 deletions

View file

@ -257,7 +257,7 @@ export const groupMethods = {
const freeSlots = Math.max(0, slotCountOf(setup) - members.length);
return {
id: row.id, day: row.day, destination: setup.destination, condition: setup.condition, dangers: setup.dangers, stars: setup.stars, hours: setup.hours,
creatorName: row.creator_name, isCreator: row.creator_id === playerId, isMember, recruitUntil: setup.recruitUntil, slots: slotCountOf(setup), freeSlots,
creatorName: row.creator_name, isCreator: row.creator_id === playerId, isMember, openedAt: row.created_at, recruitUntil: setup.recruitUntil, tierLootPct: { struggle: settings.loot.tierPct[0], success: settings.loot.tierPct[1], triumph: settings.loot.tierPct[2] }, slots: slotCountOf(setup), freeSlots,
members: members.map((slot) => ({ playerName: slot.playerName, own: slot.playerId === playerId, position: slot.position, editionId: slot.editionId, cardId: slot.cardId })),
canJoin: settings.enabled && !isMember && freeSlots > 0,
canDepart: row.creator_id === playerId,

View file

@ -15,7 +15,7 @@ export const DEFAULT_EXPEDITION_SETTINGS = Object.freeze({
// l'inscription : seule, c'est un solo (une place) ; avec d'autres joueurs, c'est un groupe. Groupe : places (le Veilleur de la Guilde
// tient celles restées vides), période d'inscription, multiplicateur de butin selon le nombre de
// joueurs (2, 3, 4), stats du Veilleur et bonus de cohésion (collections toutes différentes).
group: { slots: 4, recruitHours: 12, lootPct: [150, 175, 200], npcStat: 8, cohesionPct: 10 },
group: { slots: 4, recruitHours: 1, lootPct: [150, 175, 200], npcStat: 8, cohesionPct: 10 },
power: { rare: 40, epic: 55, legendary: 70, mythic: 85, perLevel: 5, cap: 100 },
// Améliorations : coût d'un niveau en Éclats = costFactor × (Puissance actuelle − costOffset), niveaux donnés par un doublon,
// expérience de terrain par retour d'expédition (% d'un niveau), taux du pont depuis la poussière (poussières pour 1 Éclat)