mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
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 = {}; // 忽略移动参数
|
||||
}
|
||||
}
|
||||
// <コードアンチ カイヅカ>
|
||||
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;
|
||||
|
|
|
@ -121989,6 +121989,7 @@ var CardInfo = {
|
|||
actionAsyn: function () {
|
||||
return this.summonAsyn().callback(this,function () {
|
||||
this.fieldData.excludeWhenTurnEnd = true;
|
||||
this.fieldData.excludeWhenLeaveField = true;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue