client_plugin_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.
@@ -380,7 +380,7 @@
380
380
  function addFormatStructureForTime(structure) {
381
381
  this.w60(structure);
382
382
  }
383
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
383
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
384
384
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
385
385
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
386
386
  function set_fractionOfSecond(value) {
@@ -427,7 +427,7 @@
427
427
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
428
428
  //endregion
429
429
  function GameEngineConfig() {
430
- this.version = '1.8.439';
430
+ this.version = '1.8.440';
431
431
  }
432
432
  protoOf(GameEngineConfig).h3z = function () {
433
433
  return this.version;
@@ -66078,7 +66078,6 @@
66078
66078
  this.pa8_1 = userRatingInteractor;
66079
66079
  }
66080
66080
  protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
66081
- var minRatingLimit = 800;
66082
66081
  var maxRatingFactor = 0.3;
66083
66082
  var tmp;
66084
66083
  if (league == null) {
@@ -66090,10 +66089,12 @@
66090
66089
  var defaultConfig = Companion_instance_12.defaultConfig();
66091
66090
  var minRating = targetLeague.getMinRating();
66092
66091
  var maxRating = targetLeague.getMaxRating(defaultConfig.maxUserRating);
66092
+ if (targetLeague.equals(League_BEGINNER_getInstance())) {
66093
+ var minRatingStartLimit = 800;
66094
+ return new BotRatingRange(minRatingStartLimit, maxRating);
66095
+ }
66093
66096
  var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * maxRatingFactor);
66094
- // Inline function 'kotlin.comparisons.maxOf' call
66095
- var botMinRating = Math.max(minRatingLimit, minRating);
66096
- return new BotRatingRange(botMinRating, botMaxRating);
66097
+ return new BotRatingRange(minRating, botMaxRating);
66097
66098
  };
66098
66099
  protoOf(RatingHelperImpl).mapToLeague = function (name) {
66099
66100
  // Inline function 'kotlin.text.uppercase' call