int TechnoTypeClass::GetRepairStepCost() {
  int Cost = this->GetCost();
  int costStep = Cost / (this->Strength / Rules->RepairStep);
  float percentage = costStep * Rules ->RepairPercent; 
  int result = FloatToInt(percentage);
  if ( result <= 1 )
    result = 1;
  return result;
}