Skip to content

Commit

Permalink
Merge pull request #5006 from SJuliez/BA-enhancement-checks-and-gui
Browse files Browse the repository at this point in the history
BA validity check update
  • Loading branch information
SJuliez authored Jan 3, 2024
2 parents a7cbd85 + 1fa4b21 commit 6e4c89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions megamek/src/megamek/common/verifier/TestBattleArmor.java
Original file line number Diff line number Diff line change
Expand Up @@ -676,9 +676,9 @@ public boolean correctMovement(StringBuffer buff) {
return false;
}

if (ba.hasWorkingMisc(MiscType.F_PARTIAL_WING)
if (ba.hasWorkingMisc(MiscType.F_PARTIAL_WING) && !ba.hasWorkingMisc(MiscType.F_MECHANICAL_JUMP_BOOSTER)
&& ((ba.getMovementMode() != EntityMovementMode.INF_JUMP) || (ba.getJumpMP() < 1))) {
buff.append("BattleArmor with a partial wing must have jump jets with a least 1MP!");
buff.append("BattleArmor with a partial wing must have jump jets with a least 1MP or mechanical jump boosters!");
return false;
}

Expand Down

0 comments on commit 6e4c89a

Please sign in to comment.