| 114 | } |
| 115 | |
| 116 | int |
| 117 | mon_has_special(struct monst *mtmp) |
| 118 | { |
| 119 | struct obj *otmp; |
| 120 | |
| 121 | for (otmp = mtmp->minvent; otmp; otmp = otmp->nobj) |
| 122 | if (otmp->otyp == AMULET_OF_YENDOR |
| 123 | || any_quest_artifact(otmp) |
| 124 | || otmp->otyp == BELL_OF_OPENING |
| 125 | || otmp->otyp == CANDELABRUM_OF_INVOCATION |
| 126 | || otmp->otyp == SPE_BOOK_OF_THE_DEAD) |
| 127 | return 1; |
| 128 | return 0; |
| 129 | } |
| 130 | |
| 131 | /* |
| 132 | * New for 3.1 Strategy / Tactics for the wiz, as well as other |
no outgoing calls
no test coverage detected