combat increases metabolism */
| 3048 | |
| 3049 | /* combat increases metabolism */ |
| 3050 | boolean |
| 3051 | overexertion(void) |
| 3052 | { |
| 3053 | /* this used to be part of domove() when moving to a monster's |
| 3054 | position, but is now called by do_attack() so that it doesn't |
| 3055 | execute if you decline to attack a peaceful monster */ |
| 3056 | gethungry(); |
| 3057 | if ((svm.moves % 3L) != 0L && near_capacity() >= HVY_ENCUMBER) { |
| 3058 | overexert_hp(); |
| 3059 | } |
| 3060 | return (boolean) (gm.multi < 0); /* might have fainted (forced to sleep) */ |
| 3061 | } |
| 3062 | |
| 3063 | void |
| 3064 | invocation_message(void) |
no test coverage detected