force monster to stop wielding current weapon, if any */
| 935 | |
| 936 | /* force monster to stop wielding current weapon, if any */ |
| 937 | void |
| 938 | mwepgone(struct monst *mon) |
| 939 | { |
| 940 | struct obj *mwep = MON_WEP(mon); |
| 941 | |
| 942 | if (mwep) { |
| 943 | setmnotwielded(mon, mwep); |
| 944 | mon->weapon_check = NEED_WEAPON; |
| 945 | } |
| 946 | } |
| 947 | |
| 948 | /* attack bonus for strength & dexterity */ |
| 949 | int |
no test coverage detected