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

Fatigue GUI Support and Rebalance #3924

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

IllianiCBT
Copy link
Collaborator

@IllianiCBT IllianiCBT commented Mar 29, 2024

Current Implementation

Fatigue is a silent system and Fatigue is gained once a month, at the following rate:

image

Problem

Fatigue has no GUI support, meaning the only way to know if Fatigue is having an affect, is by waiting for it reach a high enough that it causes penalties to your Employee Turnover (Retirement) checks. Some of the numbers also feel a bit off, such as Guerrilla contracts being considered low stress.

Solution

At the beginning of each month, fatigue will push a message to the report panel informing users what their current fatigue score is.

image

Furthermore, seeing as I was fiddling with the system anyways, I rebalanced the modifiers and had Thom update the excel spreadsheet for me. The new modifiers are as follows:

image

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 10.65%. Comparing base (2676968) to head (ef87c05).
Report is 22 commits behind head on master.

Files Patch % Lines
MekHQ/src/mekhq/campaign/Campaign.java 0.00% 1 Missing ⚠️
.../mekhq/campaign/mission/enums/AtBContractType.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3924      +/-   ##
============================================
- Coverage     10.65%   10.65%   -0.01%     
  Complexity     5528     5528              
============================================
  Files           836      836              
  Lines        114275   114276       +1     
  Branches      17185    17185              
============================================
  Hits          12176    12176              
- Misses       100871   100872       +1     
  Partials       1228     1228              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@HammerGS HammerGS merged commit c609e9c into MegaMek:master Apr 30, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants