… | |
… | |
879 | |
879 | |
880 | if (!skill) |
880 | if (!skill) |
881 | new_draw_info (NDI_BLACK, 0, op, "You have no unarmed combat skills!"); |
881 | new_draw_info (NDI_BLACK, 0, op, "You have no unarmed combat skills!"); |
882 | } |
882 | } |
883 | |
883 | |
884 | if (skill) |
884 | op->apply (skill); |
885 | { |
|
|
886 | op->change_skill (0); |
|
|
887 | apply_special (op, skill, AP_APPLY); |
|
|
888 | } |
|
|
889 | } |
885 | } |
890 | |
886 | |
891 | if (!pl->combat_ob) |
887 | if (!pl->combat_ob) |
892 | { |
888 | { |
893 | LOG (llevError, "Could not find anything to attack on %s\n", &op->name); |
889 | LOG (llevError, "Could not find anything to attack on %s\n", &op->name); |