forked from mirrors/webxoss-core
fix PR-330 const 2nd
This commit is contained in:
parent
f114dce4d2
commit
469b89b993
1 changed files with 7 additions and 1 deletions
|
@ -104752,7 +104752,13 @@ var CardInfo = {
|
|||
},{
|
||||
auto: 'onAttack',
|
||||
actionAsyn: function () {
|
||||
return this.banishSigniAsyn(this.power);
|
||||
var filter = function (card) {
|
||||
return card.power < this.power;
|
||||
}.bind(this);
|
||||
return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) {
|
||||
if (!card) return;
|
||||
return card.banishAsyn();
|
||||
});
|
||||
},
|
||||
}],
|
||||
// ======================
|
||||
|
|
Loading…
Reference in a new issue