engine/calculators/source/TanningCalculator.cpp
// 1 extra potential point per 20 points of Tanning
1 extra potential point per 20 points of Tanning
1 extra potential point per 20 points of Tanning
int TanningCalculator::calculate_potential_extra_resistance_points(CreaturePtr creature)
{
  int extra = 0;
  if (creature != nullptr)
  {
    int val = creature->get_skills().get_value(SkillType::SKILL_GENERAL_TANNING);
    extra = val / 15;
  }
  return extra;
}
int TanningCalculator :: calculate_potential_extra_resistance_points ( CreaturePtr creature ) { int extra = 0 ; if ( creature != nullptr ) { int val = creature -> get_skills ( ) . get_value ( SkillType :: SKILL_GENERAL_TANNING ) ; extra = val / 15 ; } return extra ; }
1 extra potential point per 20 points of Tanning
1 extra potential point per 20 points of Tanning