Return the name of a breath weapon. If the player is hallucinating, return * a silly name instead. * typ is AD_MAGM, AD_FIRE, etc */
| 1080 | * a silly name instead. |
| 1081 | * typ is AD_MAGM, AD_FIRE, etc */ |
| 1082 | staticfn const char * |
| 1083 | breathwep_name(int typ) |
| 1084 | { |
| 1085 | if (Hallucination) |
| 1086 | return rnd_hallublast(); |
| 1087 | |
| 1088 | return breathwep[BZ_OFS_AD(typ)]; |
| 1089 | } |
| 1090 | |
| 1091 | /* monster breathes at monster (ranged) */ |
| 1092 | int |
no test coverage detected