MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
131 stars 168 forks source link

Prevent Battle Armor allocation in TORNADO_F4 wind scenarios #4934

Open IllianiCBT opened 2 days ago

IllianiCBT commented 2 days ago

Previously, Battle Armor units could be allocated to scenarios with TORNADO_F4 wind conditions where they cannot survive. This update adds a condition to exclude these units from being assigned in such scenarios, improving the realism and survivability of missions.

Closes #4929

codecov-commenter commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 10.44%. Comparing base (90ea1b7) to head (4c6089c). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4934 +/- ## ========================================= Coverage 10.44% 10.44% - Complexity 5998 6006 +8 ========================================= Files 951 951 Lines 132874 132875 +1 Branches 19329 19329 ========================================= + Hits 13873 13881 +8 + Misses 117653 117645 -8 - Partials 1348 1349 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.