raspberry_games_server_game_logic 1.8.394 → 1.8.396
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 +8 -10
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +813 -660
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- 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.v5k(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
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
388
388
|
//endregion
|
|
389
389
|
function GameEngineConfig() {
|
|
390
|
-
this.version = '1.8.
|
|
390
|
+
this.version = '1.8.396';
|
|
391
391
|
}
|
|
392
392
|
protoOf(GameEngineConfig).a3w = function () {
|
|
393
393
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -2908,14 +2908,10 @@
|
|
|
2908
2908
|
var tmp;
|
|
2909
2909
|
switch (this.p2_1) {
|
|
2910
2910
|
case 0:
|
|
2911
|
-
tmp = true;
|
|
2912
|
-
break;
|
|
2913
2911
|
case 1:
|
|
2914
2912
|
tmp = true;
|
|
2915
2913
|
break;
|
|
2916
2914
|
case 2:
|
|
2917
|
-
tmp = false;
|
|
2918
|
-
break;
|
|
2919
2915
|
case 3:
|
|
2920
2916
|
tmp = false;
|
|
2921
2917
|
break;
|
|
@@ -34902,6 +34898,8 @@
|
|
|
34902
34898
|
var tmp;
|
|
34903
34899
|
switch (this.p2_1) {
|
|
34904
34900
|
case 0:
|
|
34901
|
+
tmp = false;
|
|
34902
|
+
break;
|
|
34905
34903
|
case 2:
|
|
34906
34904
|
case 1:
|
|
34907
34905
|
case 3:
|
|
@@ -37776,7 +37774,7 @@
|
|
|
37776
37774
|
function getFirstTeam($this, players) {
|
|
37777
37775
|
// Inline function 'kotlin.check' call
|
|
37778
37776
|
if (!(players.o() === 4)) {
|
|
37779
|
-
var message = 'Players count should be 4';
|
|
37777
|
+
var message = 'Players count should be 4, actual ' + toString($this);
|
|
37780
37778
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
37781
37779
|
}
|
|
37782
37780
|
return listOf_0([players.p(0), players.p(2)]);
|
|
@@ -37784,7 +37782,7 @@
|
|
|
37784
37782
|
function getSecondTeam($this, players) {
|
|
37785
37783
|
// Inline function 'kotlin.check' call
|
|
37786
37784
|
if (!(players.o() === 4)) {
|
|
37787
|
-
var message = 'Players count should be 4';
|
|
37785
|
+
var message = 'Players count should be 4, actual ' + toString($this);
|
|
37788
37786
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
37789
37787
|
}
|
|
37790
37788
|
return listOf_0([players.p(1), players.p(3)]);
|
|
@@ -43077,16 +43075,16 @@
|
|
|
43077
43075
|
var tmp;
|
|
43078
43076
|
switch (playersMode.p2_1) {
|
|
43079
43077
|
case 0:
|
|
43080
|
-
tmp = 0.
|
|
43078
|
+
tmp = 0.8;
|
|
43081
43079
|
break;
|
|
43082
43080
|
case 3:
|
|
43083
43081
|
tmp = 1.0;
|
|
43084
43082
|
break;
|
|
43085
43083
|
case 1:
|
|
43086
|
-
tmp = 1.
|
|
43084
|
+
tmp = 1.2;
|
|
43087
43085
|
break;
|
|
43088
43086
|
case 2:
|
|
43089
|
-
tmp = 1.
|
|
43087
|
+
tmp = 1.3;
|
|
43090
43088
|
break;
|
|
43091
43089
|
default:
|
|
43092
43090
|
noWhenBranchMatchedException();
|
|
@@ -50279,7 +50277,7 @@
|
|
|
50279
50277
|
var element = _iterator__ex2g4s.n();
|
|
50280
50278
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
50281
50279
|
var this_0 = element.oldRating - element.newRating;
|
|
50282
|
-
if (Math.abs(this_0) >=
|
|
50280
|
+
if (Math.abs(this_0) >= 100) {
|
|
50283
50281
|
destination.j(element);
|
|
50284
50282
|
}
|
|
50285
50283
|
}
|