forked from mirrors/webxoss-core
Fix WX14-070
This commit is contained in:
parent
64e3d8f6a8
commit
f50d46aae0
2 changed files with 6 additions and 4 deletions
2
Card.js
2
Card.js
|
@ -597,7 +597,7 @@ Card.prototype.upAsyn = function () {
|
|||
if (!this.upProtections.length) return Callback.immediately(this.up());
|
||||
return this.player.selectAsyn('CHOOSE_EFFECT',protections).callback(this,function (protection) {
|
||||
protection.source.activate();
|
||||
return protection.actionAsyn.call(protection.source,card);
|
||||
return protection.actionAsyn.call(protection.source,this);
|
||||
}).callback(this,function () {
|
||||
return true;
|
||||
});
|
||||
|
|
|
@ -115331,7 +115331,9 @@ var CardInfo = {
|
|||
}
|
||||
if (!cards.length) return;
|
||||
return this.player.showCardsAsyn(cards).callback(this,function () {
|
||||
return this.game.excludeCards(cards);
|
||||
return this.player.opponent.showCardsAsyn(cards).callback(this,function () {
|
||||
this.game.excludeCards(cards);
|
||||
});
|
||||
});
|
||||
}
|
||||
},{
|
||||
|
@ -118050,7 +118052,7 @@ var CardInfo = {
|
|||
var effect = this.game.newEffect({
|
||||
source: this,
|
||||
description: '1912-const-0',
|
||||
triggerCondition: function (event) {
|
||||
condition: function (event) {
|
||||
return (event.card.power <= 8000);
|
||||
},
|
||||
actionAsyn: function (event) {
|
||||
|
@ -118724,7 +118726,7 @@ var CardInfo = {
|
|||
return this.decreasePowerAsyn(5000).callback(this,function () {
|
||||
var protection = {
|
||||
source: this,
|
||||
description: '1920-const-0',
|
||||
description: '1920-action-0',
|
||||
condition: function () {
|
||||
return this.game.getEffectSource();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue