forked from mirrors/webxoss-core
fix WX10-096 action
This commit is contained in:
parent
0e857dd63c
commit
627a13ac6a
1 changed files with 1 additions and 9 deletions
10
CardInfo.js
10
CardInfo.js
|
@ -79269,15 +79269,7 @@ var CardInfo = {
|
||||||
},this);
|
},this);
|
||||||
return this.player.selectAsyn('TRASH_CHARM',zones).callback(this,function (zone) {
|
return this.player.selectAsyn('TRASH_CHARM',zones).callback(this,function (zone) {
|
||||||
if (!zone) return;
|
if (!zone) return;
|
||||||
var card = zone.cards[0].charm;
|
var card = zone.getActualCards()[0].charm;
|
||||||
card.trash();
|
|
||||||
});
|
|
||||||
var zones = this.player.getCharms().map(function (charm) {
|
|
||||||
return charm.zone;
|
|
||||||
},this);
|
|
||||||
return this.player.selectAsyn('TRASH_CHARM',zones).callback(this,function (zone) {
|
|
||||||
if (!zone) return;
|
|
||||||
var card = zone.cards[0].charm;
|
|
||||||
card.trash();
|
card.trash();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue