| 1465 | } |
| 1466 | |
| 1467 | staticfn void |
| 1468 | item_resistance_message( |
| 1469 | int adtyp, |
| 1470 | const char *prot_message, |
| 1471 | int final) |
| 1472 | { |
| 1473 | int protection = u_adtyp_resistance_obj(adtyp); |
| 1474 | |
| 1475 | if (protection) { |
| 1476 | boolean somewhat = protection < 99; |
| 1477 | |
| 1478 | enl_msg("Your items ", |
| 1479 | somewhat ? "are somewhat" : "are", |
| 1480 | somewhat ? "were somewhat" : "were", |
| 1481 | prot_message, item_what(adtyp)); |
| 1482 | } |
| 1483 | } |
| 1484 | |
| 1485 | /* attributes: intrinsics and the like, other non-obvious capabilities */ |
| 1486 | staticfn void |
no test coverage detected