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 TotalGenericBattleValue Tag to MUL Export #5070

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

IllianiCBT
Copy link
Collaborator

@IllianiCBT IllianiCBT commented Oct 19, 2024

Added calculation and integration of generic battle value in BriefingTab when saving entity lists to MUL.

This is hidden in MUL export as GBV is not meant to be user-facing. We include it here as a debugging tool.

Closes #5045

Requires MegaMek/megamek#6122

Refactored the `saveTo` method in `EntityListFile` to include an optional generic battle value parameter. Added calculation and integration of generic battle value in `BriefingTab` when saving entity lists to files.

This is hidden in MUL export as GBV is not meant to be user-facing. We include it here as a debugging tool.
@IllianiCBT IllianiCBT added the Force Generation Anything related to Force Generation (Opfor or Friendly) label Oct 19, 2024
@IllianiCBT IllianiCBT self-assigned this Oct 19, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.43%. Comparing base (4a9cce8) to head (4a9a5d8).
Report is 111 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5070      +/-   ##
============================================
- Coverage     10.43%   10.43%   -0.01%     
- Complexity     6032     6041       +9     
============================================
  Files           952      953       +1     
  Lines        133878   134112     +234     
  Branches      19436    19435       -1     
============================================
+ Hits          13976    13996      +20     
- Misses       118560   118772     +212     
- Partials       1342     1344       +2     

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

@HammerGS HammerGS merged commit 67552d6 into MegaMek:master Oct 21, 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.

[RFE] Add GBV (Generic BV) to MUL content on export
3 participants