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 Scenario Force Building Logic. #5264

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Revised force composition logic to ensure proper handling of transporter units and their transportees, preventing stranding issues. Introduced helper methods for calculating battle values and fallback force composition. Improved how we cull units further, to hopefully prevent issues where entire forces are silently culled.

Closes #5262

Revised force composition logic to ensure proper handling of transporter units and their transportees, preventing stranding issues. Introduced helper methods for calculating battle values and fallback force composition. Improved how we cull units further, to hopefully prevent issues where entire forces are silently culled.
@IllianiCBT IllianiCBT added the Force Generation Anything related to Force Generation (Opfor or Friendly) label Nov 30, 2024
@IllianiCBT IllianiCBT self-assigned this Nov 30, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.48%. Comparing base (d1b53f6) to head (0f4e7df).
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #5264   +/-   ##
=========================================
  Coverage     10.47%   10.48%           
- Complexity     6039     6048    +9     
=========================================
  Files           959      959           
  Lines        135067   135101   +34     
  Branches      19650    19660   +10     
=========================================
+ Hits          14147    14160   +13     
- Misses       119569   119595   +26     
+ Partials       1351     1346    -5     

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

@HammerGS HammerGS merged commit 924c205 into MegaMek:master Dec 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Force Generation Anything related to Force Generation (Opfor or Friendly)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[50.02-Nightly 1691] FG3 issues
3 participants