forked from mirrors/webxoss-core
💫 implement SP26-004
This commit is contained in:
parent
dbb4f1418a
commit
ca1ae1712e
1 changed files with 1 additions and 2 deletions
|
@ -131467,12 +131467,11 @@ var CardInfo = {
|
||||||
var filter = function (card) {
|
var filter = function (card) {
|
||||||
return (card.type === 'SIGNI');
|
return (card.type === 'SIGNI');
|
||||||
};
|
};
|
||||||
// TODO: pickCardAsyn函数在callback中返回cards
|
|
||||||
return this.player.pickCardAsyn(filter,0,1).callback(this,function (cards) {
|
return this.player.pickCardAsyn(filter,0,1).callback(this,function (cards) {
|
||||||
if (!cards.length) return;
|
if (!cards.length) return;
|
||||||
if (cards[0].hasColor('black')) {
|
if (cards[0].hasColor('black')) {
|
||||||
this.moveTo(this.player.lrigDeck)
|
this.moveTo(this.player.lrigDeck)
|
||||||
// TODO: 不能再使用这张卡
|
this.player.bannedCards.push(2565)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue