1
0
Fork 0

Fix PR-309

This commit is contained in:
WEBXOSS 2016-12-11 20:49:34 +08:00
parent 9b84b03e98
commit a26a71362c
2 changed files with 7 additions and 0 deletions

View file

@ -666,6 +666,12 @@ Card.prototype.moveTo = function (zone,arg) {
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 === undefined) arg = {};
if (arg.up === undefined) arg.up = zone.up; if (arg.up === undefined) arg.up = zone.up;
if (arg.faceup === undefined) arg.faceup = zone.faceup; if (arg.faceup === undefined) arg.faceup = zone.faceup;

View file

@ -121989,6 +121989,7 @@ var CardInfo = {
actionAsyn: function () { actionAsyn: function () {
return this.summonAsyn().callback(this,function () { return this.summonAsyn().callback(this,function () {
this.fieldData.excludeWhenTurnEnd = true; this.fieldData.excludeWhenTurnEnd = true;
this.fieldData.excludeWhenLeaveField = true;
}); });
} }
}); });