Deck builder: cost tiles for unowned cards and cards in other decks

Idea and Building decks get two more Deck analysis tiles: what the copies
you don't own would cost, and what the owned copies other building/built
decks are holding are worth. Both count copies, not cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 22:03:45 -05:00
parent 04dc4f6e7b
commit 8a69ca9f73
2 changed files with 20 additions and 3 deletions

View File

@@ -1299,6 +1299,12 @@ function DeckBuilder({
<StatTile value={deckStats.landCount} label="lands" />
<StatTile value={deckStats.avgManaValue.toFixed(2)} label="avg MV" />
<StatTile value={formatCost(deckStats.totalCost)} label="cost" />
{(deck.status === "idea" || deck.status === "building") && (
<>
<StatTile value={formatCost(deckStats.unownedCost)} label="not owned" />
<StatTile value={formatCost(deckStats.elsewhereCost)} label="in other decks" />
</>
)}
</div>
<div className="deck-stats-body">
<div className="deck-stats-numbers">