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

Corrected Experience Generation Logic and Refined Campaign Options GUI #4690

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

IllianiCBT
Copy link
Collaborator

@IllianiCBT IllianiCBT commented Aug 22, 2024

Fixed bug in experience level generation that caused rolls of 2 to result in Ultra-Green personnel.

Replaced direct value checks with a clamped switch case for experience level generation.

Streamlined the campaign options pane by removing unused skill levels and updating labels for clarity.

 Fixed bug in experience level generation that caused rolls of 2 to result in Ultra-Green personnel. Replaced direct value checks with a clamped switch case for experience level generation. Streamlined the campaign options pane by removing unused skill levels and updating labels for clarity.
@IllianiCBT IllianiCBT added Bug Personnel Personnel-related Issues GUI labels Aug 22, 2024
@IllianiCBT IllianiCBT self-assigned this Aug 22, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.81%. Comparing base (7c8488d) to head (d11d2f7).
Report is 99 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4690      +/-   ##
============================================
+ Coverage     10.79%   10.81%   +0.01%     
- Complexity     5710     5715       +5     
============================================
  Files           950      950              
  Lines        131271   131270       -1     
  Branches      19135    19133       -2     
============================================
+ Hits          14177    14191      +14     
+ Misses       115875   115855      -20     
- Partials       1219     1224       +5     

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

@IllianiCBT IllianiCBT changed the title Updated Experience Generation Logic and Refined Campaign Options GUI Corrected Experience Generation Logic and Refined Campaign Options GUI Aug 22, 2024
Copy link
Collaborator

@Sleet01 Sleet01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Sleet01 Sleet01 merged commit ab3017b into MegaMek:master Sep 1, 2024
3 checks passed
@Thom293
Copy link
Contributor

Thom293 commented Sep 1, 2024

Sorry - just downloaded the nightly to test. Does this make substantive changes or are these cosmetic? Looks like lot of campaign options stuff. If it needs testing I can wait for the artifact build and redownload...

@IllianiCBT
Copy link
Collaborator Author

The only non-cosmetic change is that a roll of a 2 on the table to determine starting Experience Level will generate Green personnel, not Ultra-Green to match TW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI Personnel Personnel-related Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants