Skip to content

Vitality, legendary stat rolls with one free reroll, and !stats - #36

Merged
Finesssee merged 1 commit into
mainfrom
feat/vitality-stats-cmd
Oct 13, 2026
Merged

Finesssee merged 1 commit into
mainfrom
feat/vitality-stats-cmd

Conversation

@Finesssee

Copy link
Copy Markdown
Collaborator

Upgrade points v2, part 3 of 3 (after #34 and #35).

For viewers.

  • Vitality is a seventh stat: +4 max HP a level, up to +60. It works in quick duels and HP fights. Heals cap at the new max, and a flawless win needs all of it.
  • A legendary pet now gives +1 to 4 different stats out of 7, rolled when it's bought. The Fighter tab offers one free reroll per pet, after a confirm. The new set is always different, and the reroll is refused during a challenge or duel. Legendaries bought before this change roll when the room starts.
  • !stats [@name] shows the levels that count in duels, unspent points and the pet's boost. It also works while duels are paused.
  • Two new presets, Tank and Bruiser, bring the list to 12.

Contracts. duel_started and the duel carry maxHp. Profile owned gains rolls and rerolled. The shop takes kind:"reroll", which answers 409 rerolled or in_duel, or 400 unknown_item. The SE route gains the stats action. Docs are updated in CONTRACTS, DUELS and STREAMER_SETUP.

Verified. bun run check passes with 391 unit tests. bun run test:ui passes at 1280 and 390.

- Vitality: a seventh upgrade stat, +4 max HP a level (ceiling +60), in both duel kinds. Duels carry
  each fighter's full hp in duel.maxHp; heals cap there and a flawless win needs it.
- Legendary pets roll +1 to 4 different stats of 7 per owner at purchase; existing ones roll on
  room start. One free reroll per pet (shop kind "reroll"), always a different set, refused mid-duel.
- !stats [@name] shows the levels that count, unspent points and the pet boost.
- Tank and Bruiser presets.
@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: nesszer/pixfray/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 45f43a27-0860-4265-8092-8178b664c179
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Finesssee
Finesssee merged commit 0049791 into main Oct 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant