forked from mirrors/webxoss-core
💩 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: [{
|
actionEffects: [{
|
||||||
costDown: true,
|
costDown: true,
|
||||||
costCondition: function () {
|
actionAsyn: function () {
|
||||||
var cards = this.player.hands.filter(function (card) {
|
|
||||||
return card.hasClass('宇宙');
|
|
||||||
},this);
|
|
||||||
return cards.length >= 2;
|
|
||||||
},
|
|
||||||
costAsyn: function () {
|
|
||||||
var cards = this.player.hands.filter(function (card) {
|
var cards = this.player.hands.filter(function (card) {
|
||||||
return card.hasClass('宇宙');
|
return card.hasClass('宇宙');
|
||||||
},this);
|
},this);
|
||||||
|
if (cards.length < 2) return;
|
||||||
return this.player.selectSomeAsyn('PAY',cards,2,2).callback(this,function (cards) {
|
return this.player.selectSomeAsyn('PAY',cards,2,2).callback(this,function (cards) {
|
||||||
this.game.trashCards(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();
|
return this.player.opponent.discardAsyn();
|
||||||
} else if (target.level >= 4) {
|
} else if (target.level >= 4) {
|
||||||
var filter = function (card) {
|
var filter = function (card) {
|
||||||
return (card.type === 'SIGNI') && (card.hasClass('宇宙');
|
return card.hasClass('宇宙');
|
||||||
};
|
};
|
||||||
return this.player.pickCardAsyn(filter,0,1);
|
return this.player.pickCardAsyn(filter,0,1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue