Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Minor] Experience points should be rounded down #199

Open
pparuzel opened this issue Jul 22, 2020 · 0 comments
Open

[Minor] Experience points should be rounded down #199

pparuzel opened this issue Jul 22, 2020 · 0 comments

Comments

@pparuzel
Copy link

Following the rules, when dividing experience points per player the calculation should always be rounded down.

Whenever you divide a number in the game, round down if you end up with a fraction, even if the fraction is one-half or greater.

<span class="current-encounter--totals-individual-xp" ng-if="vm.partyInfo.totalPlayerCount > 0">({{ (vm.encounter.exp / vm.partyInfo.totalPlayerCount) | number:0 }} per player)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants