diff --git a/src/rooms/commands/OnJoinCommand.ts b/src/rooms/commands/OnJoinCommand.ts index 8538185..d1909bc 100644 --- a/src/rooms/commands/OnJoinCommand.ts +++ b/src/rooms/commands/OnJoinCommand.ts @@ -22,7 +22,6 @@ export class OnJoinCommand extends Command= this.room.maxClients) { return; } - let isRobot = false; // begin of set seat and team let idx = count; let seatSet = new Set([0,1,2,3]) @@ -50,12 +49,7 @@ export class OnJoinCommand extends Command [o.id, o.effect, o.type])}`) for (let card of cards) { // 如果card的type == 11, 说明是自选随从卡, 则替换成玩家牌组中的卡 if (card.type == CardType.variable_unit && effectMap.get(card.effect).type_id == EffectType.variable_unit) { @@ -227,7 +228,6 @@ let gameUtil = { player.cards.set(card.id + '', card); player.cardSet.add(card.id + ''); } - cardLog(`add: ${player.id} ${cards.map(o => [o.id, o.effect, o.type])}`) }, /** * 往玩家的卡组里添加卡