raspberry_games_server_game_logic 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.z5k(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) {
@@ -402,7 +402,7 @@
402
402
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
403
403
  //endregion
404
404
  function GameEngineConfig() {
405
- this.version = '1.8.439';
405
+ this.version = '1.8.440';
406
406
  }
407
407
  protoOf(GameEngineConfig).b3w = function () {
408
408
  return this.version;
@@ -60653,7 +60653,6 @@
60653
60653
  this.r9p_1 = userRatingInteractor;
60654
60654
  }
60655
60655
  protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
60656
- var minRatingLimit = 800;
60657
60656
  var maxRatingFactor = 0.3;
60658
60657
  var tmp;
60659
60658
  if (league == null) {
@@ -60665,10 +60664,12 @@
60665
60664
  var defaultConfig = Companion_instance_12.defaultConfig();
60666
60665
  var minRating = targetLeague.getMinRating();
60667
60666
  var maxRating = targetLeague.getMaxRating(defaultConfig.maxUserRating);
60667
+ if (targetLeague.equals(League_BEGINNER_getInstance())) {
60668
+ var minRatingStartLimit = 800;
60669
+ return new BotRatingRange(minRatingStartLimit, maxRating);
60670
+ }
60668
60671
  var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * maxRatingFactor);
60669
- // Inline function 'kotlin.comparisons.maxOf' call
60670
- var botMinRating = Math.max(minRatingLimit, minRating);
60671
- return new BotRatingRange(botMinRating, botMaxRating);
60672
+ return new BotRatingRange(minRating, botMaxRating);
60672
60673
  };
60673
60674
  protoOf(RatingHelperImpl).mapToLeague = function (name) {
60674
60675
  // Inline function 'kotlin.text.uppercase' call