Add relic stats for Mercury Hourglass #138

Closed
opened 2026-04-27 18:38:29 -07:00 by nelsong6 · 1 comment
nelsong6 commented 2026-04-27 18:38:29 -07:00 (Migrated from github.com)

Parent inventory: #133

Goal

Port the RelicTracker stat behavior for $(@{Key=MercuryHourglass; Title=Add relic stats for Mercury Hourglass; Stats=System.Object[]; Notes=Port the RelicTracker behavior for Mercury Hourglass turn-end damage. Track the damage credited to the relic and show it on the relic tooltip.; Source=MercuryHourglass.cs}.Key) into SpireLens.

RelicTracker source reference: https://github.com/rmac-silva/RelicTracker (Code/RelicPatches/MercuryHourglass.cs). Use this as a behavior reference only; do not copy source code, structure, tooltip strings, or formatting.

Stats To Track

  • Damage dealt by the relic

Implementation Notes

Port the RelicTracker behavior for Mercury Hourglass turn-end damage. Track the damage credited to the relic and show it on the relic tooltip.

Keep the first pass focused on matching the RelicTracker-facing stat. Do not expand the scope into broader card/relic attribution unless required to produce this stat.

Acceptance Criteria

  • Resolve the current STS2 relic id/name before implementing.
  • Add persisted run data for the relic stat if needed by the existing relic stats model.
  • Show the stat in the relic tooltip.
  • Add focused tests for the stat update/persistence/presentation path where practical.
  • Include live in-run evidence when this is run through the issue-agent workflow.
Parent inventory: #133 ## Goal Port the RelicTracker stat behavior for $(@{Key=MercuryHourglass; Title=Add relic stats for Mercury Hourglass; Stats=System.Object[]; Notes=Port the RelicTracker behavior for Mercury Hourglass turn-end damage. Track the damage credited to the relic and show it on the relic tooltip.; Source=MercuryHourglass.cs}.Key) into SpireLens. RelicTracker source reference: https://github.com/rmac-silva/RelicTracker (Code/RelicPatches/MercuryHourglass.cs). Use this as a behavior reference only; do not copy source code, structure, tooltip strings, or formatting. ## Stats To Track - Damage dealt by the relic ## Implementation Notes Port the RelicTracker behavior for Mercury Hourglass turn-end damage. Track the damage credited to the relic and show it on the relic tooltip. Keep the first pass focused on matching the RelicTracker-facing stat. Do not expand the scope into broader card/relic attribution unless required to produce this stat. ## Acceptance Criteria - Resolve the current STS2 relic id/name before implementing. - Add persisted run data for the relic stat if needed by the existing relic stats model. - Show the stat in the relic tooltip. - Add focused tests for the stat update/persistence/presentation path where practical. - Include live in-run evidence when this is run through the issue-agent workflow.
nelsong6 commented 2026-07-05 15:26:14 -07:00 (Migrated from github.com)

Closing as implemented on main: relic aggregate/tracking, tooltip rows, schema coverage, and tests are present. Validation: full SpireLens.Core.Tests suite passed (467 tests) and Core hot-reload completed cleanly.

Closing as implemented on main: relic aggregate/tracking, tooltip rows, schema coverage, and tests are present. Validation: full SpireLens.Core.Tests suite passed (467 tests) and Core hot-reload completed cleanly.
Sign in to join this conversation.
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#138
No description provided.