From a26a71362c3403e93d28f16ffe419f1173fd1e93 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Sun, 11 Dec 2016 20:49:34 +0800 Subject: [PATCH] Fix PR-309 --- Card.js | 6 ++++++ CardInfo.js | 1 + 2 files changed, 7 insertions(+) diff --git a/Card.js b/Card.js index 4d52991..a1652f5 100644 --- a/Card.js +++ b/Card.js @@ -666,6 +666,12 @@ Card.prototype.moveTo = function (zone,arg) { arg = {}; // 忽略移动参数 } } + // <コードアンチ カイヅカ> + if (this.fieldData.excludeWhenLeaveField) { + if (inArr(this,this.player.signis) && zone.name !== 'SigniZone') { + zone = this.player.excludedZone; + } + } if (arg === undefined) arg = {}; if (arg.up === undefined) arg.up = zone.up; if (arg.faceup === undefined) arg.faceup = zone.faceup; diff --git a/CardInfo.js b/CardInfo.js index a794e49..4e62445 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -121989,6 +121989,7 @@ var CardInfo = { actionAsyn: function () { return this.summonAsyn().callback(this,function () { this.fieldData.excludeWhenTurnEnd = true; + this.fieldData.excludeWhenLeaveField = true; }); } });