1
0
Fork 0

💩 apply reviews (WX17 white)

This commit is contained in:
deardrops 2017-09-23 22:51:52 +08:00 committed by webxoss
parent ce3a806e1b
commit ba40ffd96f

View file

@ -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);