forked from mirrors/webxoss-core
fix WX13-034 2nd const effect
This commit is contained in:
parent
b9eb9108a2
commit
60e0f59127
2 changed files with 8 additions and 2 deletions
|
@ -110310,7 +110310,13 @@ var CardInfo = {
|
||||||
source: signi,
|
source: signi,
|
||||||
description: '1805-attached-0',
|
description: '1805-attached-0',
|
||||||
actionAsyn: function (event) {
|
actionAsyn: function (event) {
|
||||||
return this.banishSigniAsyn(this.power);
|
var filter = function (card) {
|
||||||
|
return card.power < this.power;
|
||||||
|
};
|
||||||
|
return this.player.selectOpponentSigniAsyn(filter).callback(this,function (card) {
|
||||||
|
if (!card) return;
|
||||||
|
return card.banishAsyn();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
add(signi,'onAttack',effect);
|
add(signi,'onAttack',effect);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 99ded40439475a868d1cd1b3176c1c567bbe0def
|
Subproject commit 57034007988b4d1122c5932a7d3b2f3fdf734f2a
|
Loading…
Reference in a new issue