forked from mirrors/webxoss-core
Fix PR-309
This commit is contained in:
parent
9b84b03e98
commit
a26a71362c
2 changed files with 7 additions and 0 deletions
6
Card.js
6
Card.js
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue