client_plugin_logic_deb 1.8.243 → 1.8.244
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 +10 -9
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +8 -7
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
return tmp;
|
|
378
378
|
}
|
|
379
379
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
380
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime,
|
|
380
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithDate, WithUtcOffset]);
|
|
381
381
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
382
382
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
383
383
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
416
416
|
//endregion
|
|
417
417
|
function GameEngineConfig() {
|
|
418
|
-
this.version = '1.8.
|
|
418
|
+
this.version = '1.8.244';
|
|
419
419
|
}
|
|
420
420
|
protoOf(GameEngineConfig).i33 = function () {
|
|
421
421
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -42077,14 +42077,15 @@
|
|
|
42077
42077
|
while (_iterator__ex2g4s.k()) {
|
|
42078
42078
|
var _destruct__k2r9zo = _iterator__ex2g4s.l();
|
|
42079
42079
|
var playerId = _destruct__k2r9zo.pe();
|
|
42080
|
-
var
|
|
42080
|
+
var maxCardsCount = _destruct__k2r9zo.qe();
|
|
42081
42081
|
var tmp0_elvis_lhs = playersCards.g2(playerId);
|
|
42082
42082
|
var currentPlayerCards = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
42083
|
-
var requestedCardsCount =
|
|
42084
|
-
// Inline function 'kotlin.collections.set' call
|
|
42083
|
+
var requestedCardsCount = maxCardsCount - currentPlayerCards.m() | 0;
|
|
42085
42084
|
// Inline function 'kotlin.math.min' call
|
|
42086
|
-
var
|
|
42087
|
-
var
|
|
42085
|
+
var countToDistribute = Math.min(cardsInCycle, requestedCardsCount);
|
|
42086
|
+
var distributeCards = distributeCardsBottom(cards, countToDistribute);
|
|
42087
|
+
// Inline function 'kotlin.collections.set' call
|
|
42088
|
+
var value = plus(currentPlayerCards, distributeCards);
|
|
42088
42089
|
playersCards.j2(playerId, value);
|
|
42089
42090
|
}
|
|
42090
42091
|
}
|
|
@@ -42169,12 +42170,12 @@
|
|
|
42169
42170
|
protoOf(CardsIntercatorImpl).w8y = function (cards, trumpCard, selectedTrump, players, config) {
|
|
42170
42171
|
var whoGetsTheTrumpCard = this.p8y_1.u8v(players, config);
|
|
42171
42172
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
42172
|
-
var
|
|
42173
|
+
var playersCards = LinkedHashMap_init_$Create$();
|
|
42173
42174
|
if (!((whoGetsTheTrumpCard == null ? null : whoGetsTheTrumpCard.playerId) == null)) {
|
|
42174
42175
|
// Inline function 'kotlin.collections.set' call
|
|
42175
42176
|
var key = whoGetsTheTrumpCard.playerId;
|
|
42176
42177
|
var value = listOf_0(trumpCard);
|
|
42177
|
-
|
|
42178
|
+
playersCards.j2(key, value);
|
|
42178
42179
|
}
|
|
42179
42180
|
var cardsInTheCardDeck = toMutableList(cards);
|
|
42180
42181
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -42184,11 +42185,11 @@
|
|
|
42184
42185
|
while (tmp0_iterator.k()) {
|
|
42185
42186
|
var item = tmp0_iterator.l();
|
|
42186
42187
|
// Inline function 'games.jass.logic.domain.interactors.dealer.CardsIntercatorImpl.distributeSecondRoundCards.<anonymous>' call
|
|
42187
|
-
var neededCardsCount =
|
|
42188
|
+
var neededCardsCount = config.playerHandCardsSize - item.x6e() | 0;
|
|
42188
42189
|
var tmp$ret$1 = to(item.playerId, neededCardsCount);
|
|
42189
42190
|
destination.e(tmp$ret$1);
|
|
42190
42191
|
}
|
|
42191
|
-
var distributedPlayersCards = distributeCardsByCycles(this, 1, cardsInTheCardDeck, destination,
|
|
42192
|
+
var distributedPlayersCards = distributeCardsByCycles(this, 1, cardsInTheCardDeck, destination, playersCards);
|
|
42192
42193
|
var frezaCard = this.r8y_1.c8w(config) ? single(distributeCardsTop(cardsInTheCardDeck, 1)) : null;
|
|
42193
42194
|
var tmp1_$this = this.s8y_1;
|
|
42194
42195
|
// Inline function 'kotlin.collections.map' call
|