mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
💩 apply reviews
This commit is contained in:
parent
c030c7fe0c
commit
d4f1e0e22e
1 changed files with 7 additions and 14 deletions
21
CardInfo.js
21
CardInfo.js
|
@ -126823,25 +126823,18 @@ var CardInfo = {
|
|||
],
|
||||
actionEffects: [{
|
||||
costDown: true,
|
||||
costCondition: function () {
|
||||
var cards = this.player.hands.filter(function (card) {
|
||||
return card.hasClass('宇宙');
|
||||
},this);
|
||||
return cards.length >= 2;
|
||||
},
|
||||
costAsyn: function () {
|
||||
actionAsyn: function () {
|
||||
var cards = this.player.hands.filter(function (card) {
|
||||
return card.hasClass('宇宙');
|
||||
},this);
|
||||
if (cards.length < 2) return;
|
||||
return this.player.selectSomeAsyn('PAY',cards,2,2).callback(this,function (cards) {
|
||||
this.game.trashCards(cards);
|
||||
var filter = function (card) {
|
||||
return card.level === 4;
|
||||
}
|
||||
return this.player.seekAndSummonAsyn(filter,1,true);
|
||||
});
|
||||
},
|
||||
actionAsyn: function () {
|
||||
var cards = this.player.mainDeck.filter(function (card) {
|
||||
return (card.type === 'SIGNI') && (card.level === 4) && card.canSummon();
|
||||
},this);
|
||||
return this.player.seekAndSummonAsyn(filter,1,true);
|
||||
}
|
||||
}],
|
||||
// ======================
|
||||
|
@ -127154,7 +127147,7 @@ var CardInfo = {
|
|||
return this.player.opponent.discardAsyn();
|
||||
} else if (target.level >= 4) {
|
||||
var filter = function (card) {
|
||||
return (card.type === 'SIGNI') && (card.hasClass('宇宙');
|
||||
return card.hasClass('宇宙');
|
||||
};
|
||||
return this.player.pickCardAsyn(filter,0,1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue