code: public void setDamages(int min, int max)
      {
          this.min = UtilMath.clamp(min, 0, Integer.MAX_VALUE);
          this.max = UtilMath.clamp(max, this.min, Integer.MAX_VALUE);
      }
docs: Set the maximum damage value. Max set to min value if over.
  
  @param min The minimum damages value (must be positive).
  @param max The maximum damages value (must be positive and superior or equal to min).