Merge branch 'second' of http://git.kingsome.cn/node/card_svr into second
This commit is contained in:
commit
4bca5751a5
@ -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 ++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user