creature sticks other creatures it hits */
| 651 | |
| 652 | /* creature sticks other creatures it hits */ |
| 653 | boolean |
| 654 | sticks(struct permonst *ptr) |
| 655 | { |
| 656 | return (boolean) (dmgtype(ptr, AD_STCK) |
| 657 | || (dmgtype(ptr, AD_WRAP) && !attacktype(ptr, AT_ENGL)) |
| 658 | || attacktype(ptr, AT_HUGS)); |
| 659 | } |
| 660 | |
| 661 | /* some monster-types can't vomit */ |
| 662 | boolean |
no test coverage detected