engine/calculators/source/CreatureToHitCalculator.cpp
// Creature to-hit = equipment bonuses/penalties
Creature to-hit = equipment bonuses/penalties
Creature to - hit = equipment bonuses / penalties
int CreatureToHitCalculator::calculate_to_hit(CreaturePtr c)
{
  int to_hit = 0;
  if (c != nullptr)
  {
    to_hit += get_equipment_bonus(c);
  }
  return to_hit;
}
int CreatureToHitCalculator :: calculate_to_hit ( CreaturePtr c ) { int to_hit = 0 ; if ( c != nullptr ) { to_hit += get_equipment_bonus ( c ) ; } return to_hit ; }
Creature to-hit = equipment bonuses/penalties
Creature to - hit = equipment bonuses / penalties