game_client_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.f5j(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) {
@@ -387,7 +387,7 @@
387
387
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
388
388
  //endregion
389
389
  function GameEngineConfig() {
390
- this.version = '1.8.435';
390
+ this.version = '1.8.436';
391
391
  }
392
392
  protoOf(GameEngineConfig).x3u = function () {
393
393
  return this.version;
@@ -58914,6 +58914,8 @@
58914
58914
  this.y9j_1 = userRatingInteractor;
58915
58915
  }
58916
58916
  protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
58917
+ var minRatingLimit = 800;
58918
+ var maxRatingFactor = 0.3;
58917
58919
  var tmp;
58918
58920
  if (league == null) {
58919
58921
  tmp = Default_getInstance().qg() ? League_BEGINNER_getInstance() : League_ROOKIE_getInstance();
@@ -58924,9 +58926,10 @@
58924
58926
  var defaultConfig = Companion_instance_12.defaultConfig();
58925
58927
  var minRating = targetLeague.getMinRating();
58926
58928
  var maxRating = targetLeague.getMaxRating(defaultConfig.maxUserRating);
58927
- var factor = 0.3;
58928
- var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * factor);
58929
- return new BotRatingRange(minRating, botMaxRating);
58929
+ var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * maxRatingFactor);
58930
+ // Inline function 'kotlin.comparisons.maxOf' call
58931
+ var botMinRating = Math.max(minRatingLimit, minRating);
58932
+ return new BotRatingRange(botMinRating, botMaxRating);
58930
58933
  };
58931
58934
  protoOf(RatingHelperImpl).mapToLeague = function (name) {
58932
58935
  // Inline function 'kotlin.text.uppercase' call