float j=this.jumpMP; if (game != null) { j = jump / game.getOptions().floatOption("gravity"); j = ((Math.round(j) - j) == 0.5) ? (Math.round(j - 0.1)) : Math.round(j); if (j > this.jumpMP) j = jump; jump = (int) j; }
    public int getJumpMP() {        int jump=this.jumpMP;        int torsoCrits=this.getCritsHit(LOC_TORSO);     	switch(torsoCrits)     	{     		case 0:     		break;     		case 1:     		jump--;     		break;     		case 2:     		jump=jump/2;     		break;     	}        return jump;    }