diff --git a/Card.js b/Card.js index 6de6734..fc8afed 100644 --- a/Card.js +++ b/Card.js @@ -149,6 +149,7 @@ function Card (game,player,zone,pid,side) { this.canNotBeBanished = false; this.abilityLost = false; this.canNotBeBanishedByEffect = false; + this.canNotBeBouncedByEffect = false; this.protectingShironakujis = []; // <幻水 蓝鲸> this.protectingMpps = []; // <コードハート M・P・P> this.useBikouAsWhiteCost = false; // <启示的天惠 安=FORTH> @@ -166,6 +167,7 @@ function Card (game,player,zone,pid,side) { this._SnoropNaturalPlantPrincess = false; // <罗植姬 雪花莲> this._CodeLabyrinthLouvre = null; // <卢浮宫> this.powerAddProtected = false; // <幻兽 苍龙> + this.powerDecreaseProtected = false; // PR-360 this._GustaftCenterBallista = false; // <弩中砲 グスタフト> this.colorLost = false; // <侍从 ∞> this.banishProtections = []; @@ -795,6 +797,12 @@ Card.prototype.moveTo = function (zone,arg) { return false; } } + // "不能因对战对手的效果从场上返回手牌。" + if (card.player.canNotBeBouncedByEffect && source && (source.player !== card.player)) { + if (inArr(card,card.player.signis) && (zone.name === 'HandZone')) { + return false; + } + } // 注: 交换 SIGNI 区请用 card.changeSigniZone(zone). // 以下代码作废. diff --git a/CardInfo.js b/CardInfo.js index 7d9ba2b..a5aa188 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -114437,7 +114437,6 @@ var CardInfo = { ], startUpEffects: [{ actionAsyn: function () { - // TODO... var effects = [{ source: this, description: '2243-attached-0', diff --git a/ConstEffect.js b/ConstEffect.js index 217e5eb..f4d43bc 100644 --- a/ConstEffect.js +++ b/ConstEffect.js @@ -111,6 +111,12 @@ ConstEffect.prototype.add = function (target,prop,value,arg) { if (flag) { value = -value; } + // PR-360 + if ((prop === 'power') && target.powerDecreaseProtected) { + if ((this.source.player !== target.player) && (value < 0)) { + return; + } + } // <暴力飞溅> var count = this.source.player._ViolenceSplashCount; flag = (count > 0) &&