fix(render): show Swire Alter coin balance

This commit is contained in:
IceCodeNew committed 2026-10-09 19:56:02 +00:00
1 parent 1db8e51023
commit 416e7d9e14
8 files changed
+140 -4

No files matched your search

+4
View File
@@ -1060,6 +1060,10 @@ players alive when the fight starts; no change.)
我执), `test/render/hud-readouts.test.js` (14: interp stepping / malformed rows / absent list, the cells, the pips, the red bar, the
aura, and the chain sim → snapshot → buffer → view) — all fail on the parent; a headless-Chrome look at the real field view
(`notes/shot-hud.mjs`, not committed) shows the three readouts as intended. Docs: design/network.md, SIM.md §9, design/client.md, PLAYING.md, `types/core.js`.
- 琳琅诗怀雅's coin balance uses the same snapshot/readout path. A player screenshot showed her HP/SP bars without a coin
count; the kit already tracked `mem.coins`, but snapshots omitted it. The optional `coins` field supplies the HUD's
coin icon and integer, including zero ([DESIGN §8.2](../design/network.md#82-match)). The icon reuses the coin FX texture;
the inspected `entry/img_coin` is an event ticket, not her currency. [ASSUMED] placement/style; generation, spending and skills are unchanged.
### 27.43 A renderer that loses the 12 s race no longer mounts its canvas late — the attempt is aborted (PR #302 by @siruimei07) — `ui/fieldHost.js mountFieldView / useFieldView`, `render/app.js createFieldView`, `render/app/host.js withTimeout`
- **Seen**: `mountFieldView` raced `createFieldView` against a 12 s timeout and on failure removed every child of the host, but the factory