8000 MML #44: Mek jump boosters and jump jets by SJuliez · Pull Request #6347 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MML #44: Mek jump boosters and jump jets #6347

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

Merged
merged 3 commits into from
Mar 23, 2025

Conversation

SJuliez
Copy link
Member
@SJuliez SJuliez commented Mar 23, 2025

This is the MHQ part of allowing both jump jets and Mek mechanical jump boosters. It only has a few small adaptations.

Requires MegaMek/megamek#6752 and MegaMek/megameklab#1780

Copy link
codecov bot commented Mar 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.32%. Comparing base (57fe5e0) to head (f7bc328).
Report is 101 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6347      +/-   ##
============================================
+ Coverage     10.87%   11.32%   +0.44%     
- Complexity     6266     6270       +4     
============================================
  Files          1066     1070       +4     
  Lines        141127   135927    -5200     
  Branches      21049    21012      -37     
============================================
+ Hits          15352    15387      +35     
+ Misses       124226   118999    -5227     
+ Partials       1549     1541       -8     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IllianiBird IllianiBird merged commit 1ef0c1b into MegaMek:master Mar 23, 2025
6 checks passed
IllianiBird added a commit to MegaMek/megamek that referenced this pull request Mar 23, 2025
This is the MM part of allowing both jump jets and Mek mechanical jump
boosters.
- When a unit has only MMJB, movement behaves as before
- When a unit has both JJ and MMJB and the player selects jumping,
they'll have to choose between the systems
- In the code, the various versions of getJumpMP() now only address jump
jets. For MMJB, separate methods are used. If only a general jump value
of any sort is needed, e.g. for scenario generation, a new method
getAnyTypeMaxJumpMP() can be used. The two have the same result on
anything unit but Meks when MMJB are involved.

Requires MegaMek/megameklab#1780 and MegaMek/mekhq#6347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0