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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +5 -4
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
function addFormatStructureForTime(structure) {
|
|
381
381
|
this.z5k(structure);
|
|
382
382
|
}
|
|
383
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
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) {
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
403
403
|
//endregion
|
|
404
404
|
function GameEngineConfig() {
|
|
405
|
-
this.version = '1.8.
|
|
405
|
+
this.version = '1.8.440';
|
|
406
406
|
}
|
|
407
407
|
protoOf(GameEngineConfig).b3w = function () {
|
|
408
408
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -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
|
-
|
|
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
|