Merge branch 'second' of http://git.kingsome.cn/node/card_svr into second

This commit is contained in:
yuexin 2020-12-28 11:12:39 +08:00
commit 4bca5751a5

View File

@ -31,7 +31,7 @@ export class SelectPetCommand extends Command<CardGameState, {client: Client,
if (!player.cards.has(eCardId + '')) { if (!player.cards.has(eCardId + '')) {
continue; continue;
} }
let card = player.cards.get(eCardId + ''); let card = player.cards.get(eCardId + '').clone();
player.cardQueue.push(card); player.cardQueue.push(card);
if (card.type === 3) { if (card.type === 3) {
dbpt_cnt ++; dbpt_cnt ++;