feat: display current party combat power as a persistent stat #72

Merged
naomi merged 1 commits from feat/combat-power-display into main 2026-03-19 11:55:58 -07:00
Owner

Summary

  • Adds a ⚔️ Combat Power entry to the always-visible resource bar
  • Value is computed client-side as the sum of each adventurer's combatPower × count
  • No new props required — computed directly from state via the existing useGame() hook
  • Players can now see their combat strength at a glance before attempting boss fights or quests

Test plan

  • Verify the Combat Power stat appears in the resource bar
  • Verify the value increases as more adventurers are recruited
  • Verify the value displays correctly with formatNumber for large numbers
  • Confirm lint, build, and tests all pass

Closes #58

## Summary - Adds a `⚔️ Combat Power` entry to the always-visible resource bar - Value is computed client-side as the sum of each adventurer's `combatPower × count` - No new props required — computed directly from `state` via the existing `useGame()` hook - Players can now see their combat strength at a glance before attempting boss fights or quests ## Test plan - [ ] Verify the Combat Power stat appears in the resource bar - [ ] Verify the value increases as more adventurers are recruited - [ ] Verify the value displays correctly with `formatNumber` for large numbers - [ ] Confirm lint, build, and tests all pass Closes #58
hikari added 1 commit 2026-03-19 11:53:49 -07:00
feat: display current party combat power as a persistent stat
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m8s
CI / Lint, Build & Test (pull_request) Successful in 1m10s
0bd7642344
Adds a ⚔️ Combat Power entry to the resource bar, always visible,
showing the sum of each adventurer's combat power multiplied by
their count so players can make informed decisions about boss
fights and quests.

Closes #58
naomi merged commit c4b4fba4c9 into main 2026-03-19 11:55:58 -07:00
naomi deleted branch feat/combat-power-display 2026-03-19 11:55:58 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/elysium#72