implement card.onAcced

This commit is contained in:
WEBXOSS 2017-03-28 19:39:42 +08:00
parent d3a0b63680
commit fb615375a0
2 changed files with 4 additions and 3 deletions

View file

@ -131,6 +131,7 @@ function Card (game,player,zone,pid,side) {
this.onFreeze = new Timming(game);
this.onChangeSigniZone = new Timming(game);
this.onRised = new Timming(game);
this.onAcced = new Timming(game);
// 附加的属性
this.canNotAttack = false;
@ -1553,6 +1554,7 @@ Card.prototype.acceTo = function (signi) {
faceup: true,
up: signi.isUp,
});
this.onAcced.trigger();
this.game.frameEnd();
};

View file

@ -129547,7 +129547,7 @@ var CardInfo = {
"【[トラップ]】:あなたの場にある他の【トラップ】1枚をトラッシュに置き、《青》を支払ってもよい。そうした場合、対戦相手のシグニ1体をバニッシュする。",
],
extraTexts_en: [
"[Trap]: You may put 1 of your other [Trap] on the field into the trash, and pay Blue. If you do, banish 1 of your opponent's SIGNI."
"[Trap]: You may put 1 of your other [Trap] on the field into the trash, and pay [Blue]. If you do, banish 1 of your opponent's SIGNI."
],
// TODO...
trap: {
@ -134110,8 +134110,7 @@ var CardInfo = {
});
}
});
// TODO...
add(signi,'onAcce',effect);
add(signi,'onAcced',effect);
},this);
}
}],