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

Fixed Hidden Loyalty Calculation in RetirementDefectionTracker #4819

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Fixed the loyalty calculation (when loyalty is hidden) by adding a bonus for commanders and applying a loyalty modifier based on the adjusted loyalty score, instead of using raw loyalty score.

Closes #4783

Fixed the loyalty calculation (when loyalty is hidden) by adding a bonus for commanders and applying a loyalty modifier based on the adjusted loyalty score, instead of using raw loyalty score.
@IllianiCBT IllianiCBT added Bug Personnel Personnel-related Issues labels Sep 12, 2024
@IllianiCBT IllianiCBT self-assigned this Sep 12, 2024
@codecov-commenter
Copy link

codecov-commenter commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 9.92%. Comparing base (454a4ea) to head (7c13992).
Report is 83 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4819      +/-   ##
============================================
- Coverage     10.61%    9.92%   -0.69%     
+ Complexity     5655     5645      -10     
============================================
  Files           948      948              
  Lines        132553   132556       +3     
  Branches      19048    19048              
============================================
- Hits          14072    13158     -914     
- Misses       117246   118163     +917     
  Partials       1235     1235              

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

# Conflicts:
#	MekHQ/src/mekhq/campaign/personnel/turnoverAndRetention/RetirementDefectionTracker.java
@IllianiCBT
Copy link
Collaborator Author

Updated to account for the recent name change project

@IllianiCBT IllianiCBT merged commit 831b222 into MegaMek:master Sep 13, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Personnel Personnel-related Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

20 base turnover threshold TN occurring on with TN of 3 set in campaign settings
2 participants