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

Added Better Handling for Negative Skill Levels #5244

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Inserted bounds checks using max to prevent negative values in experience calculations. Understandably, the rules in CamOps do not account for characters with -14 skill target numbers.

Closes #5238

Inserted bounds checks using `max` to prevent negative values in experience calculations. Understandably, the rules in CamOps do not account for characters with -14 skill target numbers.
@codecov-commenter
Copy link

codecov-commenter commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.50%. Comparing base (519101f) to head (3100b50).
Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #5244   +/-   ##
=========================================
  Coverage     10.50%   10.50%           
- Complexity     6044     6046    +2     
=========================================
  Files           957      957           
  Lines        134716   134725    +9     
  Branches      19572    19577    +5     
=========================================
+ Hits          14149    14153    +4     
- Misses       119216   119219    +3     
- Partials       1351     1353    +2     

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

@HammerGS HammerGS merged commit 9dd035f into MegaMek:master Nov 29, 2024
4 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.

50.01 Company Experience broken(?)/showing as None
3 participants