diff --git a/Card.js b/Card.js index ae20553..ec69f16 100644 --- a/Card.js +++ b/Card.js @@ -1886,7 +1886,7 @@ Card.prototype.handleTrapAsyn = function(arg) { }; Card.prototype.getBottomCards = function() { - if (!inArr(this,this.player.signis)) return; + if (!inArr(this,this.player.signis)) return []; return this.zone.cards.filter(function (card) { return (card !== this) && (card !== this.charm) && diff --git a/CardInfo.js b/CardInfo.js index 8ae7c21..1917aba 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -129550,15 +129550,19 @@ var CardInfo = { constEffectTexts: [ "【自】:対戦相手のターンの間、このシグニが場を離れたとき、このシグニの下にあった《ライズアイコン》を持たないシグニ1枚をトラッシュから場に出してもよい。そのシグニの【出】の能力は発動しない。" ], + beforeMove: function () { + if (!inArr(this,this.player.signis)) return; + this._data = this.getBottomCards(); + }, constEffects: [{ - auto: 'onLeaveField', // TODO: 已经离场的Signi获取不到下面的卡 + auto: 'onLeaveField', effect: { condition: function () { return this.game.turnPlayer === this.player.opponent; }, actionAsyn: function () { - var cards = this.getBottomCards().filter(function (card) { - return card.rise && card.canSummon(); + var cards = (this._data || []).filter(function (card) { + return !card.rise && (card.zone === this.player.trashZone) && card.canSummon(); },this); if (!cards.length) return; return this.player.selectOptionalAsyn('SUMMON_SIGNI',cards).callback(this,function (card) {