if (step.getMpUsed() > (entity.getOriginalJumpMP())) {
if (step.getMpUsed() > cachedMaxMPExpenditure) {
    private void checkExtremeGravityMovement(Entity entity, MoveStep step, Coords curPos) {        PilotingRollData rollTarget;        if (game.getOptions().floatOption("gravity") != 1) {            if (entity instanceof Mech) {                if ((step.getMovementType() == Entity.MOVE_WALK) || (step.getMovementType() == Entity.MOVE_RUN)) {                    if (step.getMpUsed() > entity.getRunMP(false)) {                        // We moved too fast, let's make PSR to see if we get damage                        game.addExtremeGravityPSR(entity.checkMovedTooFast(step));                    }                } else if (step.getMovementType() == Entity.MOVE_JUMP) {                    if (step.getMpUsed() > (entity.getOriginalJumpMP())) {                        // We jumped too far, let's make PSR to see if we get damage                        game.addExtremeGravityPSR(entity.checkMovedTooFast(step));                    } else if (game.getOptions().floatOption("gravity") > 1) {                        // jumping in high g is bad for your legs                        rollTarget = entity.getBasePilotingRoll();                        rollTarget.append(new PilotingRollData(entity.getId(), 0, "jumped in high gravity"));                        game.addExtremeGravityPSR(rollTarget);                    }                }            } else if (entity instanceof Tank) {                if (step.getMovementType() == Entity.MOVE_WALK                    || step.getMovementType() == Entity.MOVE_RUN) {                    // For Tanks, we need to check if the tank had                    // more MPs because it was moving along a road.                    if (step.getMpUsed() > entity.getRunMP(false)                        && !step.isOnlyPavement()) {                        game.addExtremeGravityPSR(entity.checkMovedTooFast(step));                    }                    else if (step.getMpUsed() > entity.getRunMP(false) + 1) {                        // If the tank was moving on a road, he got a +1 bonus.                        // N.B. The Ask Precentor Martial forum said that a 4/6                        //      tank on a road can move 5/7, **not** 5/8.                        game.addExtremeGravityPSR(entity.checkMovedTooFast(step));                    } // End tank-has-road-bonus                }            }        }    }