checks whether hero can be responsive to seduction attempts; similar to Unaware but also includes paralysis */
| 130 | /* checks whether hero can be responsive to seduction attempts; similar to |
| 131 | Unaware but also includes paralysis */ |
| 132 | boolean |
| 133 | unresponsive(void) |
| 134 | { |
| 135 | if (gm.multi >= 0) |
| 136 | return FALSE; |
| 137 | |
| 138 | return (unconscious() || is_fainted() |
| 139 | || (gm.multi_reason |
| 140 | && (!strncmp(gm.multi_reason, "frozen", 6) |
| 141 | || !strncmp(gm.multi_reason, "paralyzed", 9)))); |
| 142 | } |
| 143 | |
| 144 | /* called via (*ga.afternmv)() when hero finishes taking off armor that |
| 145 | was slated to be stolen but the thief died in the interim */ |
no test coverage detected