Searched refs:hp_current (Results 1 – 9 of 9) sorted by relevance
324 rogue.hp_current += rogue.exp; in potion_heal()326 ratio = ((float)rogue.hp_current) / rogue.hp_max; in potion_heal()331 rogue.hp_current = rogue.hp_max; in potion_heal()335 rogue.hp_current = rogue.hp_max; in potion_heal()343 add = (short)(ratio * ((float)rogue.hp_max - rogue.hp_current)); in potion_heal()344 rogue.hp_current += add; in potion_heal()345 if (rogue.hp_current > rogue.hp_max) { in potion_heal()346 rogue.hp_current = rogue.hp_max; in potion_heal()
110 rogue.hp_current -= get_damage("1d6", 1); in trap_player()111 if (rogue.hp_current <= 0) { in trap_player()112 rogue.hp_current = 0; in trap_player()119 if (rogue.hp_current <= 0) { in trap_player()
247 hp = rogue.hp_current / 3; in wdrain_life()248 rogue.hp_current = (rogue.hp_current + 1) / 2; in wdrain_life()340 damage = get_rand((rogue.hp_current / 3), rogue.hp_max); in bounce()356 damage = rogue.hp_current / 4; in bounce()
158 if (d >= rogue.hp_current) { in rogue_damage()159 rogue.hp_current = 0; in rogue_damage()164 rogue.hp_current -= d; in rogue_damage()353 if (((!to_the_death) && (rogue.hp_current <= possible_damage)) || in fight()
549 if (rogue.hp_current == rogue.hp_max) { in heal()597 rogue.hp_current++; in heal()599 rogue.hp_current++; in heal()601 if ((rogue.hp_current += regeneration) > rogue.hp_max) { in heal()602 rogue.hp_current = rogue.hp_max; in heal()
421 if ((rogue.hp_current -= hp) <= 0) { in drop_level()422 rogue.hp_current = 1; in drop_level()435 if (rand_percent(60) || (rogue.hp_max <= 30) || (rogue.hp_current < 10)) { in drain_life()445 rogue.hp_current--; in drain_life()
252 rogue.hp_current -= (rogue.hp_max - MAX_HP); in print_stats()255 sprintf(buf, "%d(%d)", rogue.hp_current, rogue.hp_max); in print_stats()
268 short hp_current; member
831 rogue.hp_current += hp; in add_exp()