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 card.hasClass('怪異');
|
||||||
};
|
};
|
||||||
return this.player.seekAsyn(filter,1).callback(this,function(cards) {
|
return this.player.seekAsyn(filter,1).callback(this,function(cards) {
|
||||||
if (cards.length) {
|
if (!cards.length) return;
|
||||||
filter = function (card) {
|
var filter = function (card) {
|
||||||
return card.hasClass('怪異') && (card.level !== cards[0].level);
|
return card.hasClass('怪異') && (card.level !== cards[0].level);
|
||||||
};
|
};
|
||||||
}
|
|
||||||
return this.player.seekAsyn(filter,1);
|
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) {
|
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];
|
return effects[index];
|
||||||
},this)
|
},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 Callback.forEach(effects,function (effect) {
|
||||||
return effect.actionAsyn.call(this);
|
return effect.actionAsyn.call(this);
|
||||||
},this);
|
},this);
|
||||||
|
|
Loading…
Reference in a new issue