From 7b1d9d77606fe6c2c9cf1b69bc2c948b5253e165 Mon Sep 17 00:00:00 2001 From: deardrops Date: Sat, 3 Jun 2017 09:37:20 +0800 Subject: [PATCH] fix wx15-029, select signi only --- CardInfo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CardInfo.js b/CardInfo.js index d2d9c06..430253e 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -105712,7 +105712,8 @@ var CardInfo = { var count = costArg.bet ? 2 : 1; var player = this.player; var filter = function (card) { - return card.hasSameColorWith(player.lrig); + return (card.type === 'SIGNI') && + (card.hasSameColorWith(player.lrig)); }; return this.player.pickCardAsyn(filter,0,count); }