Various functions that implement healing of units (when a side turn starts). More...
Go to the source code of this file.
Functions | |
void | calculate_healing (int side, bool update_display) |
Calculates healing for all units for the given side. More... | |
Various functions that implement healing of units (when a side turn starts).
Definition in file heal.hpp.
void calculate_healing | ( | int | side, |
bool | update_display | ||
) |
Calculates healing for all units for the given side.
Should be called at the beginning of a side's turn.
Definition at line 290 of file heal.cpp.
References resources::controller, DBG_NG, resources::gameboard, game_config::poison_amount, game_config::rest_heal_amount, and unit::STATE_POISONED.
Referenced by play_controller::do_init_side().