ready();
if (client.doYesNoDialog( "Punch " + client.game.getEntity(ten).getDisplayName() + "?", "To Hit [RA]: " + rightArm.getValueAsString() + " (" + Compute.oddsAbove(rightArm.getValue()) + "%)   (" + rightArm.getDesc() + ")" + "\nDamage [RA]: "+Compute.getPunchDamageFor(ce(),PunchAttackAction.RIGHT)+rightArm.getTableDesc() + "\n   and/or" +"\nTo Hit [LA]: " + leftArm.getValueAsString() + " (" + Compute.oddsAbove(leftArm.getValue()) + "%)   (" + leftArm.getDesc() + ")" + "\nDamage [LA]: "+Compute.getPunchDamageFor(ce(),PunchAttackAction.LEFT)+leftArm.getTableDesc() ) ) { disableButtons(); if (leftArm.getValue() != ToHitData.IMPOSSIBLE && rightArm.getValue() != ToHitData.IMPOSSIBLE) { attacks.addElement(new PunchAttackAction(cen, ten, PunchAttackAction.BOTH)); } else if (leftArm.getValue() < rightArm.getValue()) { attacks.addElement(new PunchAttackAction(cen, ten, PunchAttackAction.LEFT)); } else { attacks.addElement(new PunchAttackAction(cen, ten, PunchAttackAction.RIGHT)); }  ready(); };
    private void punch() {        disableButtons();        final ToHitData leftArm = Compute.toHitPunch(client.game, cen, ten, PunchAttackAction.LEFT);        final ToHitData rightArm = Compute.toHitPunch(client.game, cen, ten, PunchAttackAction.RIGHT);        if (leftArm.getValue() != ToHitData.IMPOSSIBLE             && rightArm.getValue() != ToHitData.IMPOSSIBLE) {            attacks.addElement(new PunchAttackAction(cen, ten, PunchAttackAction.BOTH));        } else if (leftArm.getValue() < rightArm.getValue()) {            attacks.addElement(new PunchAttackAction(cen, ten, PunchAttackAction.LEFT));        } else {            attacks.addElement(new PunchAttackAction(cen, ten, PunchAttackAction.RIGHT));        }        ready();    }