单张牌可下随从时, 效果卡和点数卡不进入选随从轮
This commit is contained in:
parent
1c977139f4
commit
c745f9165b
@ -124,7 +124,8 @@ export class DiscardCommand extends Command<CardGameState, { client: Client, car
|
|||||||
cards: cards,
|
cards: cards,
|
||||||
type: dtype
|
type: dtype
|
||||||
})
|
})
|
||||||
if (cards.length === 1 && !new RoomOptions().singleEat()) {
|
if (cards.length === 1
|
||||||
|
&& !(new RoomOptions().singleEat() && tmpCards.length == 1 && (tmpCards[0].type == 1 || tmpCards[0].type == 11))) {
|
||||||
let cardArr: Card[] = [...this.state.cards.values()]
|
let cardArr: Card[] = [...this.state.cards.values()]
|
||||||
let time = this.room.battleMan.onCardDiscarded(player, cardArr[0])
|
let time = this.room.battleMan.onCardDiscarded(player, cardArr[0])
|
||||||
await this.delay(time)
|
await this.delay(time)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user