Creature::Creature() { moves = 0; pain = 0; killer = NULL; speed_base = 100; underwater = false; reset_bonuses(); fake = false; }
void Creature::process_turn() { if(is_dead_state()) { return; } reset_bonuses(); process_effects(); // Call this in case any effects have changed our stats reset_stats(); // add an appropriate number of moves moves += get_speed(); }
Creature::Creature() { str_max = 0; dex_max = 0; per_max = 0; int_max = 0; str_cur = 0; dex_cur = 0; per_cur = 0; int_cur = 0; moves = 0; pain = 0; killer = NULL; speed_base = 100; reset_bonuses(); fake = false; }
void Creature::reset() { reset_bonuses(); reset_stats(); }