| 426 | } |
| 427 | |
| 428 | int |
| 429 | lminion(void) |
| 430 | { |
| 431 | int tryct; |
| 432 | struct permonst *ptr; |
| 433 | |
| 434 | for (tryct = 0; tryct < 20; tryct++) { |
| 435 | ptr = mkclass(S_ANGEL, 0); |
| 436 | if (ptr && !is_lord(ptr)) |
| 437 | return monsndx(ptr); |
| 438 | } |
| 439 | |
| 440 | return NON_PM; |
| 441 | } |
| 442 | |
| 443 | int |
| 444 | ndemon(aligntyp atyp) /* A_NONE is used for 'any alignment' */ |
no test coverage detected