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

Prevent StratCon from Pulling in Player DropShips, when Option is Disabled #5046

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

IllianiCBT
Copy link
Collaborator

@IllianiCBT IllianiCBT commented Oct 14, 2024

  • Added a condition to check whether Use DropShips is enabled in AtB Options, before substituting NPC DropShips with Player DropShips.
  • Fixed player DropShip substitution in FG3

…abled

Added a condition to skip units if DropShip use is disabled in campaign options.
Changed the force generation method from 3 to 4 across multiple scenario templates. This modification affects the Isolated DropShip Defense, Space Blockade Run, Low-Atmosphere DropShip Escort, and Deep Raid Defense scenarios. The adjustment ensures consistency and may improve scenario balance or performance.
@IllianiCBT IllianiCBT added Bug StratCon Bugs relating strictly to StratCon Campaign Options Relates to, or includes, campaign option changes labels Oct 14, 2024
@IllianiCBT IllianiCBT self-assigned this Oct 14, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.43%. Comparing base (3e8168d) to head (74a6c5b).
Report is 35 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5046      +/-   ##
============================================
- Coverage     10.43%   10.43%   -0.01%     
+ Complexity     6022     6021       -1     
============================================
  Files           952      952              
  Lines        133810   133883      +73     
  Branches      19432    19435       +3     
============================================
+ Hits          13961    13966       +5     
- Misses       118498   118574      +76     
+ Partials       1351     1343       -8     

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

@HammerGS HammerGS merged commit 397e0d9 into MegaMek:master Oct 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Campaign Options Relates to, or includes, campaign option changes StratCon Bugs relating strictly to StratCon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants