diff --git a/Card.js b/Card.js index 6a268c2..2c4f9db 100644 --- a/Card.js +++ b/Card.js @@ -64,7 +64,7 @@ function Card (game,player,zone,pid,side) { // 生命迸发效果 this.burstEffects = this.cookEffect(info.burstEffect,'burst'); // 常时效果(因为内容会被修改,这里用 slice 创建不同的引用) - this.constEffects = info.constEffects.slice() || []; + this.constEffects = (info.constEffects || []).slice(); // 出场效果 this.startUpEffects = this.cookEffect(info.startUpEffects,'startup'); // 起动效果 diff --git a/Game.js b/Game.js index 8190321..a1dae50 100644 --- a/Game.js +++ b/Game.js @@ -941,7 +941,7 @@ Game.prototype.handleBlockEndAsyn = function () { return this.turnPlayer.resetSignisAsyn().callback(this,function () { return this.turnPlayer.opponent.resetSignisAsyn(); }).callback(this,function () { - return this.player.resetAccesAsyn().callback(this,function () { + return this.turnPlayer.resetAccesAsyn().callback(this,function () { return this.turnPlayer.opponent.resetAccesAsyn(); }); }).callback(this,function () { diff --git a/Player.js b/Player.js index d8121b2..d826411 100644 --- a/Player.js +++ b/Player.js @@ -1047,7 +1047,7 @@ Player.prototype.endSigniAttackStepAsyn = function () { // 必须进行攻击的卡 var cards = this.signis.filter(function (card) { return (this.forceSigniAttack || card.mustAttack) && card.canAttack() && !card.attackCostColorless; - }); + },this); if (cards.length) return Callback.never(); return this.selectAsyn('END_SIGNI_ATTACK_STEP'); };