Orcpub / orcpub

Code for Dungeon Master's Vault Community Edition
https://www.dungeonmastersvault.com/
Eclipse Public License 2.0
211 stars 106 forks source link

Average Hit Points calculating incorrectly #462

Closed DivertedCircle closed 3 years ago

DivertedCircle commented 3 years ago

Describe the bug Average hit points for a character are supposed to take the average of a class' hit die, then round up. The rounding up is not occurring on the Patron windows server.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new character.
  2. Add various class levels.
  3. Hit the 'Average' button to calculate hit points.
  4. See that the average being entered does not match the PHB entries for a class, or the live site.

Expected behavior

For a Fighter the average should be 6 but it's being entered as a 5. Wizards should get a 4 but it's entering 3.

Screenshots

If applicable, add screenshots to help explain your problem.

Live site: image

Patron server: image

DivertedCircle commented 3 years ago

As noted on the Discord server, this appears to have been caused by #460.