| 1392 | } |
| 1393 | |
| 1394 | const char * |
| 1395 | stagger(const struct permonst *ptr, const char *def) |
| 1396 | { |
| 1397 | int locoindx = (*def != highc(*def)) ? 2 : 3; |
| 1398 | |
| 1399 | return (is_floater(ptr) ? levitate[locoindx] |
| 1400 | : (is_flyer(ptr) && ptr->msize <= MZ_SMALL) ? flys[locoindx] |
| 1401 | : (is_flyer(ptr) && ptr->msize > MZ_SMALL) ? flyl[locoindx] |
| 1402 | : slithy(ptr) ? slither[locoindx] |
| 1403 | : amorphous(ptr) ? ooze[locoindx] |
| 1404 | : !ptr->mmove ? immobile[locoindx] |
| 1405 | : nolimbs(ptr) ? crawl[locoindx] |
| 1406 | : def); |
| 1407 | } |
| 1408 | |
| 1409 | /* return phrase describing the effect of fire attack on a type of monster */ |
| 1410 | const char * |
no test coverage detected