mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-01-31 09:49:16 +01:00
implement card.onAcced
This commit is contained in:
parent
d3a0b63680
commit
fb615375a0
2 changed files with 4 additions and 3 deletions
2
Card.js
2
Card.js
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}],
|
||||
|
|
Loading…
Reference in a new issue