| 103 | } |
| 104 | |
| 105 | int |
| 106 | mon_has_amulet(struct monst *mtmp) |
| 107 | { |
| 108 | struct obj *otmp; |
| 109 | |
| 110 | for (otmp = mtmp->minvent; otmp; otmp = otmp->nobj) |
| 111 | if (otmp->otyp == AMULET_OF_YENDOR) |
| 112 | return 1; |
| 113 | return 0; |
| 114 | } |
| 115 | |
| 116 | int |
| 117 | mon_has_special(struct monst *mtmp) |
no outgoing calls
no test coverage detected