| 861 | } |
| 862 | |
| 863 | staticfn void |
| 864 | kick_dumb(coordxy x, coordxy y) |
| 865 | { |
| 866 | exercise(A_DEX, FALSE); |
| 867 | if (martial() || ACURR(A_DEX) >= 16 || rn2(3)) { |
| 868 | You("kick at empty space."); |
| 869 | if (Blind) |
| 870 | feel_location(x, y); |
| 871 | } else { |
| 872 | pline("Dumb move! You strain a muscle."); |
| 873 | exercise(A_STR, FALSE); |
| 874 | set_wounded_legs(RIGHT_SIDE, 5 + rnd(5)); |
| 875 | } |
| 876 | if ((Is_airlevel(&u.uz) || Levitation) && rn2(2)) |
| 877 | hurtle(-u.dx, -u.dy, 1, TRUE); |
| 878 | } |
| 879 | |
| 880 | staticfn void |
| 881 | kick_ouch(coordxy x, coordxy y, const char *kickobjnam) |
no test coverage detected