| 6312 | } |
| 6313 | |
| 6314 | staticfn void |
| 6315 | nohandglow(struct monst *mon) |
| 6316 | { |
| 6317 | char *hands; |
| 6318 | boolean altfeedback; |
| 6319 | |
| 6320 | if (!u.umconf || mon->mconf) |
| 6321 | return; |
| 6322 | |
| 6323 | hands = makeplural(body_part(HAND)); |
| 6324 | altfeedback = (Blind || Invisible); /* Invisible == Invis && !See_invis */ |
| 6325 | if (u.umconf == 1) { |
| 6326 | if (altfeedback) |
| 6327 | Your("%s stop tingling.", hands); |
| 6328 | else |
| 6329 | Your("%s stop glowing %s.", hands, hcolor(NH_RED)); |
| 6330 | } else { |
| 6331 | if (altfeedback) |
| 6332 | pline_The("tingling in your %s lessens.", hands); |
| 6333 | else |
| 6334 | Your("%s no longer glow so brightly %s.", hands, hcolor(NH_RED)); |
| 6335 | } |
| 6336 | u.umconf--; |
| 6337 | } |
| 6338 | |
| 6339 | /* returns 1 if light flash has noticeable effect on 'mtmp', 0 otherwise */ |
| 6340 | int |
no test coverage detected