removes traps that shoot arrows, darts, etc. */
| 5661 | |
| 5662 | /* removes traps that shoot arrows, darts, etc. */ |
| 5663 | staticfn int |
| 5664 | disarm_shooting_trap(struct trap *ttmp, int otyp) |
| 5665 | { |
| 5666 | int fails = try_disarm(ttmp, FALSE); |
| 5667 | |
| 5668 | if (fails < 2) |
| 5669 | return fails; |
| 5670 | You("disarm %s trap.", the_your[ttmp->madeby_u]); |
| 5671 | cnv_trap_obj(otyp, 50 - rnl(50), ttmp, FALSE); |
| 5672 | return 1; |
| 5673 | } |
| 5674 | |
| 5675 | /* trying to #untrap a monster from a pit; is the weight too heavy? */ |
| 5676 | staticfn int |
no test coverage detected