forked from mirrors/webxoss-core
🐛 fix WX16-003 action
This commit is contained in:
parent
97dcb247ff
commit
e2015b16ef
2 changed files with 4 additions and 1 deletions
1
Card.js
1
Card.js
|
@ -1097,6 +1097,7 @@ Card.prototype.moveTo = function (zone,arg) {
|
|||
// http://www.takaratomy.co.jp/products/wixoss/rule/rule_rulechange/151211/index.html
|
||||
leaveFieldEvent.oldZone.cards.forEach(function (card) {
|
||||
if (card === leaveFieldEvent.oldZone.trap) return;
|
||||
if (card._2249) return;
|
||||
if (card === charm) {
|
||||
card.game.trashingCharms.push(card);
|
||||
} else {
|
||||
|
|
|
@ -114792,6 +114792,7 @@ var CardInfo = {
|
|||
bottom: true,
|
||||
faceup: false,
|
||||
});
|
||||
card._2249 = true;
|
||||
this.game.addConstEffect({
|
||||
source: this,
|
||||
destroyTimming: signi.onLeaveField2,
|
||||
|
@ -114800,6 +114801,7 @@ var CardInfo = {
|
|||
source: this,
|
||||
description: '2249-action-0',
|
||||
triggerCondition: function () {
|
||||
card._2249 = false;
|
||||
if (this.game.lastTurnCoinSkillsDisabled && (turn === this.game.phase.turnCount - 1)) {
|
||||
return false;
|
||||
}
|
||||
|
@ -114817,7 +114819,7 @@ var CardInfo = {
|
|||
};
|
||||
return this.player.selectOpponentSigniAsyn(filter).callback(this,function (signi) {
|
||||
if (!signi) return;
|
||||
return signis.banishAsyn();
|
||||
return signi.banishAsyn();
|
||||
});
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue