forked from mirrors/webxoss-core
fix WX15-001 action
This commit is contained in:
parent
8c440efc26
commit
a9dc4d5377
1 changed files with 4 additions and 1 deletions
|
@ -105052,7 +105052,10 @@ var CardInfo = {
|
||||||
actionAsyn: function () {
|
actionAsyn: function () {
|
||||||
var cards = this.player.opponent.hands;
|
var cards = this.player.opponent.hands;
|
||||||
return this.player.showCardsAsyn(cards).callback(this,function () {
|
return this.player.showCardsAsyn(cards).callback(this,function () {
|
||||||
cards = this.player.opponent.lrigDeck.cards;
|
cards = this.player.opponent.lrigDeck.cards.filter(function (card) {
|
||||||
|
// 排除双面的第二面
|
||||||
|
return !card.sideB;
|
||||||
|
},this);
|
||||||
if (cards.length <= 3) return cards;
|
if (cards.length <= 3) return cards;
|
||||||
return this.player.opponent.selectSomeAsyn('REVEAL',cards,3,3);
|
return this.player.opponent.selectSomeAsyn('REVEAL',cards,3,3);
|
||||||
}).callback(this,function (cards) {
|
}).callback(this,function (cards) {
|
||||||
|
|
Loading…
Reference in a new issue