1
0
Fork 0

🐛 fix WX16-003 action

This commit is contained in:
WEBXOSS 2017-08-12 22:06:48 +08:00
parent 97dcb247ff
commit e2015b16ef
2 changed files with 4 additions and 1 deletions

View file

@ -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 {

View file

@ -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();
});
});
},