1
0
Fork 0

fix PR-316 2nd effect

This commit is contained in:
WEBXOSS 2017-03-11 19:53:41 +08:00
parent 57dbaf9cf6
commit 538c5c2c3b

View file

@ -117645,13 +117645,17 @@ var CardInfo = {
},{
actionAsyn: function () {
this.game.trashCards(this.player.hands);
var done = false;
return Callback.loop(this,2,function () {
if (done) return;
var cards = this.player.trashZone.cards.filter(function (card) {
return card.hasClass('毒牙');
return card.hasClass('毒牙') && card.canSummon();
},this);
return this.player.selectOptionalAsyn('SUMMON_SIGNI',cards).callback(this,function (card) {
if (!card) return;
if (!card) return done = true;
return card.summonAsyn();
});
});
}
}]
},