Skip to content

Commit

Permalink
Ignore modular armor for base jump MP calculation.
Browse files Browse the repository at this point in the history
Include for final jump MP calc.

Fixes #272: Modular Armor effectively prevents to put Jump Jet
  • Loading branch information
neoancient committed Mar 8, 2019
1 parent 51ebbe5 commit 2f6c99e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/megameklab/com/ui/view/MovementView.java
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public void setFromEntity(Entity en) {
txtRunFinal.setText(en.getRunMPasString());

spnJump.removeChangeListener(this);
int jump0 = en.getOriginalJumpMP();
int jump0 = en.getOriginalJumpMP(true);
int jump = en.getJumpMP();
if (0 == jump0) {
jump0 = en.getAllUMUCount();
Expand Down Expand Up @@ -384,7 +384,7 @@ private void setMovementModToolTips(Entity en) {
}
txtWalkFinal.setToolTipText(walkTooltip.length() > 0? walkTooltip.toString() : null);
txtRunFinal.setToolTipText(runTooltip.length() > 0? runTooltip.toString() : null);
txtJumpFinal.setToolTipText(jumpTooltip.length() > 0 && en.getOriginalJumpMP(true) > 0?
txtJumpFinal.setToolTipText(jumpTooltip.length() > 0 && en.getOriginalJumpMP(false) > 0?
jumpTooltip.toString() : null);
}

Expand Down

0 comments on commit 2f6c99e

Please sign in to comment.