1
0
Fork 0

🐛 🚧 fix major bugs for test

This commit is contained in:
WEBXOSS 2017-06-09 20:57:59 +08:00
parent de4ba5971f
commit 7128287619
3 changed files with 3 additions and 3 deletions

View file

@ -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');
// 起动效果

View file

@ -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 () {

View file

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