client_plugin_logic_deb 1.8.435 → 1.8.436

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, WithTime, WithDate]);
383
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
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.435';
430
+ this.version = '1.8.436';
431
431
  }
432
432
  protoOf(GameEngineConfig).h3z = function () {
433
433
  return this.version;
@@ -65848,6 +65848,8 @@
65848
65848
  this.ka8_1 = userRatingInteractor;
65849
65849
  }
65850
65850
  protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
65851
+ var minRatingLimit = 800;
65852
+ var maxRatingFactor = 0.3;
65851
65853
  var tmp;
65852
65854
  if (league == null) {
65853
65855
  tmp = Default_getInstance().qg() ? League_BEGINNER_getInstance() : League_ROOKIE_getInstance();
@@ -65858,9 +65860,10 @@
65858
65860
  var defaultConfig = Companion_instance_12.defaultConfig();
65859
65861
  var minRating = targetLeague.getMinRating();
65860
65862
  var maxRating = targetLeague.getMaxRating(defaultConfig.maxUserRating);
65861
- var factor = 0.3;
65862
- var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * factor);
65863
- return new BotRatingRange(minRating, botMaxRating);
65863
+ var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * maxRatingFactor);
65864
+ // Inline function 'kotlin.comparisons.maxOf' call
65865
+ var botMinRating = Math.max(minRatingLimit, minRating);
65866
+ return new BotRatingRange(botMinRating, botMaxRating);
65864
65867
  };
65865
65868
  protoOf(RatingHelperImpl).mapToLeague = function (name) {
65866
65869
  // Inline function 'kotlin.text.uppercase' call