View stats for ephemeral / temporarily-existing cards (Souls, Sovereign Blade, etc.) #17
Labels
No labels
4-29
bug
documentation
duplicate
enhancement
flow improvement
good first issue
help wanted
invalid
investigating
issue-agent
issue-agent-blocked
issue-agent-complete
issue-agent-pr-open
issue-agent-runner-nelsonlaptop
issue-agent-runner-nelsonpc
issue-agent-runner-nelsonpc-user
issue-agent-running
needs-verification
next to do
question
queue
recon
relics-stats-onboarding
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/spirelens#17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
Some cards exist during a run but aren't permanent members of the deck. Examples:
These cards CAN accumulate real stats (they get played, deal damage, gain block) but by the time the user opens a deck view or end-of-combat summary, they're gone — removed from play, despawned, or never deck-level to begin with.
Same UX gap as #12 (removed cards) but a different ingestion story:
Data story
Our tracking already captures these plays —
GetOrAssignInstanceIdlazy-assigns a number the first time we see the CardModel viaCardPlayFinishedEntryorDamageReceivedEntry. The aggregate entry ends up in the run file keyed by e.g.CARD.SOUL#1,CARD.SOVEREIGN_BLADE#2. Then:_instanceNumbersdict becomes a dangling reference to a ghost cardNote: unlike removed cards, ephemeral cards might recur across combats (e.g., every combat generates fresh Souls). Should we:
_defCounterscounter)UI requirements
Design notes
Natural place for this is a new screen/tab rather than shoehorning into the deck-view hover. Something like:
Could reuse the existing stats rendering logic — just need a browse surface.
Related
Priority
Same as #12 — medium. Compelling but not blocking. Together they round out the "retrospective analysis" angle of the mod.
Closing this as resolved.
Confirmed in current behavior: ephemeral / temporarily-existing cards are now showing stats correctly on the relevant surfaces. Verified in game with Ascender''s Bane visible in the exhaust pile, including its tracked stats.
That is enough to mark the issue done.