fix(render): show exact remaining ammunition

Reference: lolink’s numeric ammunition display in https://github.com/Yilegendoflink/garrison-protocol/commit/071ed14aa27d5ebf54e57447c958f2681737403c. This implementation uses the existing PIXI HUD and exact snapshot counts; no fork code is copied.
This commit is contained in:
IceCodeNew committed 2026-10-12 09:55:51 +00:00
1 parent bc50cac01f
commit 02fd42abe5
4 files changed
+57 -1

No files matched your search

+7
View File
@@ -274,3 +274,10 @@ enemy: picking emitted a unit click with no definition, instead of the tile clic
engine-canvas regression retains the card/100 HP assertions and also covers another field refresh, live HP loss and
closing the card when the crate is destroyed. Device metadata supplied by the new entry still wins; changing fields
does not carry old devices across. Gameplay and allied targeting rules are unchanged.
### 29.15 Ammunition readout
Active ammunition skills show remaining rounds and magazine capacity below the segmented bar (§10), including
Laterano's extra rounds and refills. The renderer reads the existing exact snapshot counts rather than estimating
them from SP. Missing ammunition snapshots, preparation and death hide the number. Dense magazines retain their
numeric readout when the renderer omits cell separators. Combat rules and golden results are unchanged.