raspberry_games_server_game_logic 1.8.499 → 1.8.500

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.
@@ -430,7 +430,7 @@
430
430
  initMetadataForClass(BrowserCompressionService, 'BrowserCompressionService', BrowserCompressionService, VOID, [CompressionService], [2]);
431
431
  //endregion
432
432
  function GameEngineConfig() {
433
- this.version = '1.8.499';
433
+ this.version = '1.8.500';
434
434
  }
435
435
  protoOf(GameEngineConfig).s43 = function () {
436
436
  return this.version;
@@ -37716,7 +37716,7 @@
37716
37716
  function Companion_160() {
37717
37717
  }
37718
37718
  protoOf(Companion_160).m9i = function (isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen) {
37719
- return new Options(isEnableChat, isBotsEnabled, BotIntelligenceLevel_SUPER_HARD_getInstance(), 1000, 5000, isEnableChoosePartnerScreen);
37719
+ return new Options(isEnableChat, isBotsEnabled, BotIntelligenceLevel_SUPER_HARD_getInstance(), 1000, 2000, isEnableChoosePartnerScreen);
37720
37720
  };
37721
37721
  protoOf(Companion_160).getServerOptions = function (isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen, $super) {
37722
37722
  isEnableChat = isEnableChat === VOID ? true : isEnableChat;
@@ -37733,7 +37733,7 @@
37733
37733
  isBotsEnabled = isBotsEnabled === VOID ? true : isBotsEnabled;
37734
37734
  botIntelligenceLevel = botIntelligenceLevel === VOID ? BotIntelligenceLevel_SUPER_HARD_getInstance() : botIntelligenceLevel;
37735
37735
  timeForCountdownMillis = timeForCountdownMillis === VOID ? 1000 : timeForCountdownMillis;
37736
- timeForBotMillis = timeForBotMillis === VOID ? 7000 : timeForBotMillis;
37736
+ timeForBotMillis = timeForBotMillis === VOID ? 2000 : timeForBotMillis;
37737
37737
  isEnableChoosePartnerScreen = isEnableChoosePartnerScreen === VOID ? true : isEnableChoosePartnerScreen;
37738
37738
  this.isEnableChat = isEnableChat;
37739
37739
  this.isBotsEnabled = isBotsEnabled;
@@ -57563,15 +57563,12 @@
57563
57563
  return tmp;
57564
57564
  }
57565
57565
  function getBotTime(random, timeForBot) {
57566
- var from = new Long(1000, 0);
57567
- var wrongTimeForBot = compare(from, timeForBot) >= 0;
57568
- var tmp;
57569
- if (!(random == null) && !wrongTimeForBot) {
57570
- tmp = random.si(from, timeForBot);
57571
- } else {
57572
- tmp = timeForBot;
57573
- }
57574
- return tmp;
57566
+ if (random == null)
57567
+ return new Long(0, 0);
57568
+ var from = new Long(300, 0);
57569
+ if (compare(from, timeForBot) >= 0)
57570
+ return timeForBot;
57571
+ return random.si(from, timeForBot);
57575
57572
  }
57576
57573
  function playerTurnTimerStartMiddleware$$inlined$middlewareForActionType$1($isEnableTimerForPlayer, $playerTurnInteractor, $botConfig, $mergeTimers) {
57577
57574
  this.saf_1 = $isEnableTimerForPlayer;