forked from mirrors/webxoss-core
💩 apply reviews (WX17 white)
This commit is contained in:
parent
ce3a806e1b
commit
ba40ffd96f
1 changed files with 5 additions and 6 deletions
11
CardInfo.js
11
CardInfo.js
|
@ -124592,11 +124592,10 @@ var CardInfo = {
|
|||
return card.hasClass('怪異');
|
||||
};
|
||||
return this.player.seekAsyn(filter,1).callback(this,function(cards) {
|
||||
if (cards.length) {
|
||||
filter = function (card) {
|
||||
return card.hasClass('怪異') && (card.level !== cards[0].level);
|
||||
};
|
||||
}
|
||||
if (!cards.length) return;
|
||||
var filter = function (card) {
|
||||
return card.hasClass('怪異') && (card.level !== cards[0].level);
|
||||
};
|
||||
return this.player.seekAsyn(filter,1);
|
||||
});
|
||||
},
|
||||
|
@ -124605,7 +124604,7 @@ var CardInfo = {
|
|||
effects = (costArg.bet ? [0,0,0,0,1,1,1,1,2,2,2,2] : [0,0,1,1,2,2]).map(function (index) {
|
||||
return effects[index];
|
||||
},this)
|
||||
return this.player.selectSomeAsyn('LAUNCH',effects,0,count).callback(this,function (effects) {
|
||||
return this.player.selectSomeAsyn('CHOOSE_EFFECT',effects,0,count).callback(this,function (effects) {
|
||||
return Callback.forEach(effects,function (effect) {
|
||||
return effect.actionAsyn.call(this);
|
||||
},this);
|
||||
|
|
Loading…
Reference in a new issue