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

Refactored management skill calculation in RetirementDefectionTracker #4346

Merged

Conversation

IllianiCBT
Copy link
Collaborator

@IllianiCBT IllianiCBT commented Jul 5, 2024

Removed the use of base modifier in the calculation of management skill in the RetirementDefectionTracker class. Now the management skill modifier is directly retrieved from the individual, which simplifies the code and eliminates the possibility of mistakes originating from manipulations with the base modifier.

Closes #4315
Closes #4341

Removed the use of base modifier in the calculation of management skill in the RetirementDefectionTracker class. Now the management skill modifier is directly retrieved from the individual, which simplifies the code and eliminates the possibility of mistakes originating from manipulations with the base modifier.
@IllianiCBT IllianiCBT added Bug Personnel Personnel-related Issues Refactoring labels Jul 5, 2024
@IllianiCBT IllianiCBT self-assigned this Jul 5, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.30%. Comparing base (34f663e) to head (b70b5ba).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #4346   +/-   ##
=========================================
  Coverage     10.30%   10.30%           
  Complexity     5810     5810           
=========================================
  Files           925      925           
  Lines        126085   126084    -1     
  Branches      18691    18690    -1     
=========================================
  Hits          12999    12999           
+ Misses       111811   111810    -1     
  Partials       1275     1275           

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

@IllianiCBT IllianiCBT merged commit 17540c4 into MegaMek:master Jul 7, 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 Refactoring
Projects
None yet
3 participants