| 623 | } |
| 624 | |
| 625 | boolean |
| 626 | attacks(int adtyp, struct obj *otmp) |
| 627 | { |
| 628 | const struct artifact *weap; |
| 629 | |
| 630 | if ((weap = get_artifact(otmp)) != &artilist[ART_NONARTIFACT]) |
| 631 | return (boolean) (weap->attk.adtyp == adtyp); |
| 632 | return FALSE; |
| 633 | } |
| 634 | |
| 635 | boolean |
| 636 | defends(int adtyp, struct obj *otmp) |
no test coverage detected