* Change from restricted to unrestricted, allowing P_BASIC as max. This * function may be called with with P_NONE. Used in pray.c as well as below. */
| 1411 | * function may be called with with P_NONE. Used in pray.c as well as below. |
| 1412 | */ |
| 1413 | void |
| 1414 | unrestrict_weapon_skill(int skill) |
| 1415 | { |
| 1416 | if (skill < P_NUM_SKILLS && P_RESTRICTED(skill)) { |
| 1417 | P_SKILL(skill) = P_UNSKILLED; |
| 1418 | P_MAX_SKILL(skill) = P_BASIC; |
| 1419 | P_ADVANCE(skill) = 0; |
| 1420 | } |
| 1421 | } |
| 1422 | |
| 1423 | void |
| 1424 | use_skill(int skill, int degree) |
no outgoing calls
no test coverage detected