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

[HackMaster 4e] Fatigue_factor_adjust calculation is broken #9747

Open
DestroyYouAlot opened this issue Nov 10, 2021 · 0 comments
Open

[HackMaster 4e] Fatigue_factor_adjust calculation is broken #9747

DestroyYouAlot opened this issue Nov 10, 2021 · 0 comments
Labels
bug A bug found in the character sheet

Comments

@DestroyYouAlot
Copy link

The "Fatigue Adjust" field appears to (when given a percentage) actually add to the total Fatigue Factor, not subtract. I believe the error is here:

var m = 1.0 + parseValue(v.fatigue_adjust) *1.0 / (( parseValue(v.fatigue_adjust) > 1) ? 100.0 : 1.0);

Taking the "1.0 + " part out should result in an input of 50%, say, multiplying the final factor by .5 (right now it is essentially multiplying by 1.5, or adjusting to 150%).

@nmbradley nmbradley added the bug A bug found in the character sheet label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug found in the character sheet
Projects
None yet
Development

No branches or pull requests

2 participants