Stop the block section cramming two stats into one row #305

Merged
nelsong6 merged 1 commit from claude/row-cramming-cards-2d18ab into main 2026-08-08 13:38:10 -07:00
nelsong6 commented 2026-08-08 13:38:05 -07:00 (Migrated from github.com)

What

The block-gained row in the card tooltip used a RowDual helper that packed two stats — block gained and avg block — onto a single line inside its own [table=6]. Every other stat row goes through Row3 into the shared [table=4].

Why it was wrong

Two defects on any card that gains block:

  1. The visible cram — 🛡 gained 14 and ⌛🛡 0.6 shared one row, which reads as a layout glitch rather than two stats.
  2. Broken column alignment — RowDual's private table ended the shared scalar table, so the rows after it opened a third one. gained's value and absorbed's value landed at different left edges despite being adjacent rows in the same section.

Change

Split the call into two ordinary Row3 calls and delete RowDual, which had no other caller — the [table=6] path is gone from the codebase. The block section now shares one table with the rows above and below it:

🛡 gained      14
⌛🛡           0.6
🛡 absorbed    14   100%
🛡 wasted       0     0%

No version bump.

Validation

Built, deployed, and hot-reloaded into the running game (Core.Initialize complete, --- HOT RELOAD DONE ---, 425 classes patched / 0 failed). User confirmed the fix live on a real card tooltip.

## What The block-gained row in the card tooltip used a `RowDual` helper that packed two stats — `block gained` and `avg block` — onto a single line inside its own `[table=6]`. Every other stat row goes through `Row3` into the shared `[table=4]`. ## Why it was wrong Two defects on any card that gains block: 1. **The visible cram** — `🛡 gained 14` and `⌛🛡 0.6` shared one row, which reads as a layout glitch rather than two stats. 2. **Broken column alignment** — `RowDual`'s private table ended the shared scalar table, so the rows after it opened a third one. `gained`'s value and `absorbed`'s value landed at different left edges despite being adjacent rows in the same section. ## Change Split the call into two ordinary `Row3` calls and delete `RowDual`, which had no other caller — the `[table=6]` path is gone from the codebase. The block section now shares one table with the rows above and below it: ``` 🛡 gained 14 ⌛🛡 0.6 🛡 absorbed 14 100% 🛡 wasted 0 0% ``` No version bump. ## Validation Built, deployed, and hot-reloaded into the running game (`Core.Initialize complete`, `--- HOT RELOAD DONE ---`, 425 classes patched / 0 failed). User confirmed the fix live on a real card tooltip.
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!305
No description provided.