Skip to content

feat: apply hit dice size bonus rules on level up#328

Merged
trevlar merged 4 commits intodevfrom
tc/feat/apply-hit-dice-rules-on-level-up
Feb 25, 2026
Merged

feat: apply hit dice size bonus rules on level up#328
trevlar merged 4 commits intodevfrom
tc/feat/apply-hit-dice-rules-on-level-up

Conversation

@trevlar
Copy link
Collaborator

@trevlar trevlar commented Feb 21, 2026

Summary

  • Apply hitDiceSizeBonus (e.g., Oozeling's Odd Constitution) to HP rolls and averages during level up
  • Redesign HP selection UI: move hit dice display outside buttons, show effective die size with cleaner styling
  • Update selected button styling to use theme red color for better visibility in both light/dark modes
  • Add "More Skilled" header to skill point assignment section with points remaining subtitle
  • Add tooltip to Roll Hit Dice button explaining the advantage mechanic

Test plan

  • Test level up with Oozeling/Construct ancestry to verify hit dice bonus is applied correctly
  • Verify HP roll uses the increased die size (e.g., d8 → d10)
  • Verify Take Average uses the increased die size for calculation
  • Check UI appearance in both light and dark modes
  • Verify tooltips display correctly on hover

@Fronix Fronix changed the base branch from main to dev February 22, 2026 02:43
- Apply hitDiceSizeBonus (e.g., Oozeling's Odd Constitution) to HP rolls and averages during level up
- Redesign HP selection UI: move hit dice display outside buttons, show effective die size
- Update selected button styling to use theme red color for better visibility
- Add "More Skilled" header to skill point assignment section
- Add tooltip to Roll Hit Dice button explaining the advantage mechanic
@trevlar trevlar force-pushed the tc/feat/apply-hit-dice-rules-on-level-up branch from f438581 to 50a4ada Compare February 24, 2026 06:25
Add migrations to apply hit dice rules to existing actors:
- Migration006: Adds maxHitDice (+2) rule to Dwarf ancestry
- Migration007: Adds hitDiceAdvantage rule to Wild One background
- EditHitPointsDialog now shows effective hit die size with oozeling/construct bonus
- HitPointSelection styling updated to match Configure Hit Points dialog
Add localization keys for HP Increase section in level up dialog:
- hpIncrease, hitDiceLabel, rollHitDice, rollHitDiceTooltip, takeAverage
@trevlar trevlar merged commit 24d497a into dev Feb 25, 2026
5 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