does monster-type deal out a particular type of damage from any attack */
| 709 | |
| 710 | /* does monster-type deal out a particular type of damage from any attack */ |
| 711 | boolean |
| 712 | dmgtype(struct permonst *ptr, int dtyp) |
| 713 | { |
| 714 | return dmgtype_fromattack(ptr, dtyp, AT_ANY) ? TRUE : FALSE; |
| 715 | } |
| 716 | |
| 717 | /* returns the maximum damage a defender can do to the attacker via |
| 718 | a passive defense */ |