| 5195 | } |
| 5196 | |
| 5197 | void |
| 5198 | missum( |
| 5199 | struct monst *mdef, |
| 5200 | struct attack *mattk, |
| 5201 | boolean wouldhavehit) |
| 5202 | { |
| 5203 | if (wouldhavehit) /* monk is missing due to penalty for wearing suit */ |
| 5204 | Your("armor is rather cumbersome..."); |
| 5205 | |
| 5206 | if (could_seduce(&gy.youmonst, mdef, mattk)) |
| 5207 | You("pretend to be friendly to %s.", mon_nam(mdef)); |
| 5208 | else if (canspotmon(mdef) && flags.verbose) |
| 5209 | You("miss %s.", mon_nam(mdef)); |
| 5210 | else |
| 5211 | You("miss it."); |
| 5212 | if (!helpless(mdef)) |
| 5213 | wakeup(mdef, TRUE); |
| 5214 | } |
| 5215 | |
| 5216 | /* check whether equipment protects against knockback */ |
| 5217 | boolean |
no test coverage detected