Track direct hand-add attribution #34

Closed
nelsong6 wants to merge 1 commit from feature/issue-24-hand-fill-attribution into main
nelsong6 commented 2026-04-20 23:31:53 -07:00 (Migrated from github.com)

Summary

  • track cards/statuses that are generated directly into hand, separate from normal draw attribution
  • attribute those hand-adds back to the source card and surface them in the tooltip as Added to hand
  • count only cards that actually land in hand after the game's hand-cap fallback, which fixes Crash Landing-style status fill effects
  • bump the additive run schema to v7 and add fixture/pooler coverage for the new counter

Notes

  • This is aimed at issue #24, with Crash Landing as the concrete target case.
  • The hook is on Hook.AfterCardChangedPiles, filtered to oldPile == None and final pile Hand, so normal draws and discard-to-hand movement are not mixed into this stat.

Testing

  • dotnet build Core/CardUtilityStats.Core.csproj -p:SkipModsDeploy=true
  • dotnet test Tests/CardUtilityStats.Core.Tests/CardUtilityStats.Core.Tests.csproj -p:SkipModsDeploy=true

Closes #24

## Summary - track cards/statuses that are generated directly into hand, separate from normal draw attribution - attribute those hand-adds back to the source card and surface them in the tooltip as Added to hand - count only cards that actually land in hand after the game's hand-cap fallback, which fixes Crash Landing-style status fill effects - bump the additive run schema to v7 and add fixture/pooler coverage for the new counter ## Notes - This is aimed at issue #24, with Crash Landing as the concrete target case. - The hook is on Hook.AfterCardChangedPiles, filtered to oldPile == None and final pile Hand, so normal draws and discard-to-hand movement are not mixed into this stat. ## Testing - dotnet build Core/CardUtilityStats.Core.csproj -p:SkipModsDeploy=true - dotnet test Tests/CardUtilityStats.Core.Tests/CardUtilityStats.Core.Tests.csproj -p:SkipModsDeploy=true Closes #24
nelsong6 commented 2026-04-26 20:23:37 -07:00 (Migrated from github.com)

Closing this PR because it has no acceptable target-visible STS2 screenshot evidence attached. I am marking the source issue as ready to rerun through the updated issue-agent workflow with real screenshot evidence.

Closing this PR because it has no acceptable target-visible STS2 screenshot evidence attached. I am marking the source issue as ready to rerun through the updated issue-agent workflow with real screenshot evidence.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens!34
No description provided.