forked from mirrors/webxoss-core
💫 implement WX17-046
This commit is contained in:
parent
e396e112ff
commit
1d4beb5328
2 changed files with 7 additions and 4 deletions
2
Card.js
2
Card.js
|
@ -1013,7 +1013,7 @@ Card.prototype.moveTo = function (zone,arg) {
|
||||||
|
|
||||||
// 移动卡片
|
// 移动卡片
|
||||||
if (card.beforeMove) {
|
if (card.beforeMove) {
|
||||||
card.beforeMove()
|
card.beforeMove(moveEvent)
|
||||||
}
|
}
|
||||||
removeFromArr(card,card.zone.cards);
|
removeFromArr(card,card.zone.cards);
|
||||||
card.isUp = arg.up;
|
card.isUp = arg.up;
|
||||||
|
|
|
@ -126115,6 +126115,10 @@ var CardInfo = {
|
||||||
"【自】英知=7:このシグニがシグニ1体をバニッシュしたとき、バニッシュしたシグニと同じパワーを持つ対戦相手のシグニ1体をバニッシュする。",
|
"【自】英知=7:このシグニがシグニ1体をバニッシュしたとき、バニッシュしたシグニと同じパワーを持つ対戦相手のシグニ1体をバニッシュする。",
|
||||||
"【自】英知=11:このシグニがアタックしたとき、このシグニと同じパワーを持つ他のすべてのシグニをバニッシュする。"
|
"【自】英知=11:このシグニがアタックしたとき、このシグニと同じパワーを持つ他のすべてのシグニをバニッシュする。"
|
||||||
],
|
],
|
||||||
|
beforeMove: function (event) {
|
||||||
|
if (!event.isSigni) return;
|
||||||
|
this._data = this.power;
|
||||||
|
},
|
||||||
constEffects: [{
|
constEffects: [{
|
||||||
wisdom: 7,
|
wisdom: 7,
|
||||||
auto: function (add,effect) {
|
auto: function (add,effect) {
|
||||||
|
@ -126124,9 +126128,8 @@ var CardInfo = {
|
||||||
triggerCondition: function (event) {
|
triggerCondition: function (event) {
|
||||||
return (event.source === this);
|
return (event.source === this);
|
||||||
},
|
},
|
||||||
actionAsyn: function (event) {
|
actionAsyn: function () {
|
||||||
// TODO: 驱逐时的力量
|
return this.banishSigniAsyn(this._data || 0);
|
||||||
return this.banishSigniAsyn(event.card.power);
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},{
|
},{
|
||||||
|
|
Loading…
Reference in a new issue