does monster-type have a particular type of attack */
| 51 | |
| 52 | /* does monster-type have a particular type of attack */ |
| 53 | boolean |
| 54 | attacktype(struct permonst *ptr, int atyp) |
| 55 | { |
| 56 | return attacktype_fordmg(ptr, atyp, AD_ANY) ? TRUE : FALSE; |
| 57 | } |
| 58 | |
| 59 | /* returns True if monster doesn't attack, False if it does */ |
| 60 | boolean |
no test coverage detected