Block attribution heuristic #1
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#1
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?
Problem
When the player has block from multiple cards (e.g., 5 from Defend_A + 10 from Shrug It Off) and takes incoming damage, the game sees one undifferentiated block pool. For per-card attribution we must pick a heuristic to credit specific block cards with the absorbed damage.
Options
What we actually want
Answer the question: "was Shrug It Off earning its spot in my deck?" — if the player had enough block without it, did any actually absorb damage?
Likely pick (tentative)
Proportional, because it's defensible and doesn't bias on play order (which is often arbitrary — people play block cards when convenient, not in a meaningful sequence).
Blocking
Milestone 2 (block attribution). Non-blocking for M1 (attacks).
Consolidating block-attribution tracking into #6 as of April 20, 2026 so the heuristic decision and implementation work live in one place. Closing this as a duplicate/superseded issue.