Track card draws blocked by Battle Trance #32
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#32
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?
When a card attempts to draw cards after Battle Trance has been played, the attempted draw is blocked by the Battle Trance restriction.
We should track those blocked draws in card stats instead of silently treating them as ordinary zero-draw outcomes.
Suggested behavior:
Examples:
Follow-up after merging #33: there is still a missing hand-full / partial-draw case in live testing, so I want to document the current state before moving on.
What we tried
drawn / triedinstead of only successful draws.No Draw,hand full,other).Hook.AfterCardChangedPilesintended to catch full-hand redirects that do not come through the usualHook.ShouldDraw=falsepath.Current live repro that still fails
Confirmed test coverage we added
BlockTooltipTests.AppendCardDrawStats_ShowsActualVersusAttemptedWhenGapExistsBlockTooltipTests.AppendCardDrawStats_FallsBackToLegacyBlockedGapWhenAttemptedIsMissingBlockTooltipTests.AppendCardDrawStats_ShowsHandFullReasonWhenCategorizedPoisonTooltipTests.AppendAppliedEffects_ShowsDownstreamBlockedDrawsForNoDrawdotnet test Tests/CardUtilityStats.Core.Tests/CardUtilityStats.Core.Tests.csproj -c Debug -p:SkipModsDeploy=truepassed (62/62)Why this is tricky
No Drawandhand fullappear to travel through different runtime paths.Likely next approaches
Documenting this here so the remaining gap is visible while other issues/PRs move forward.