game_client_logic_deb 1.8.439 → 1.8.440

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -387,7 +387,7 @@
387
387
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
388
388
  //endregion
389
389
  function GameEngineConfig() {
390
- this.version = '1.8.439';
390
+ this.version = '1.8.440';
391
391
  }
392
392
  protoOf(GameEngineConfig).x3u = function () {
393
393
  return this.version;
@@ -59103,7 +59103,6 @@
59103
59103
  this.d9k_1 = userRatingInteractor;
59104
59104
  }
59105
59105
  protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
59106
- var minRatingLimit = 800;
59107
59106
  var maxRatingFactor = 0.3;
59108
59107
  var tmp;
59109
59108
  if (league == null) {
@@ -59115,10 +59114,12 @@
59115
59114
  var defaultConfig = Companion_instance_12.defaultConfig();
59116
59115
  var minRating = targetLeague.getMinRating();
59117
59116
  var maxRating = targetLeague.getMaxRating(defaultConfig.maxUserRating);
59117
+ if (targetLeague.equals(League_BEGINNER_getInstance())) {
59118
+ var minRatingStartLimit = 800;
59119
+ return new BotRatingRange(minRatingStartLimit, maxRating);
59120
+ }
59118
59121
  var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * maxRatingFactor);
59119
- // Inline function 'kotlin.comparisons.maxOf' call
59120
- var botMinRating = Math.max(minRatingLimit, minRating);
59121
- return new BotRatingRange(botMinRating, botMaxRating);
59122
+ return new BotRatingRange(minRating, botMaxRating);
59122
59123
  };
59123
59124
  protoOf(RatingHelperImpl).mapToLeague = function (name) {
59124
59125
  // Inline function 'kotlin.text.uppercase' call