disableButtons(); ToHitData leftLeg = Compute.toHitKick(client.game, cen, ten, KickAttackAction.LEFT); ToHitData rightLeg = Compute.toHitKick(client.game, cen, ten, KickAttackAction.RIGHT);  if (leftLeg.getValue() < rightLeg.getValue()) { attacks.addElement(new KickAttackAction(cen, ten, PunchAttackAction.LEFT)); } else { attacks.addElement(new KickAttackAction(cen, ten, PunchAttackAction.RIGHT)); } ready();
ToHitData leftLeg = Compute.toHitKick(client.game, cen, ten, KickAttackAction.LEFT); ToHitData rightLeg = Compute.toHitKick(client.game, cen, ten, KickAttackAction.RIGHT); ToHitData attackLeg; int attackSide;  if (leftLeg.getValue() < rightLeg.getValue()) { attackLeg = leftLeg; attackSide = KickAttackAction.LEFT; } else { attackLeg = rightLeg; attackSide = KickAttackAction.RIGHT; };  if (client.doYesNoDialog( "Kick " + client.game.getEntity(ten).getDisplayName() + "?", "To Hit: " + attackLeg.getValueAsString() + " (" + Compute.oddsAbove(attackLeg.getValue()) + "%)   (" + attackLeg.getDesc() + ")" + "\nDamage: "+Compute.getKickDamageFor(ce(),attackSide)+attackLeg.getTableDesc() ) ) { disableButtons(); attacks.addElement(new KickAttackAction(cen, ten, attackSide)); ready(); };
    private void kick() {        disableButtons();        ToHitData leftLeg = Compute.toHitKick(client.game, cen, ten, KickAttackAction.LEFT);        ToHitData rightLeg = Compute.toHitKick(client.game, cen, ten, KickAttackAction.RIGHT);                if (leftLeg.getValue() < rightLeg.getValue()) {            attacks.addElement(new KickAttackAction(cen, ten, PunchAttackAction.LEFT));        } else {            attacks.addElement(new KickAttackAction(cen, ten, PunchAttackAction.RIGHT));        }        ready();    }