mirror of
https://github.com/webxoss/webxoss-core.git
synced 2025-01-18 19:56:02 +01:00
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);
|
||||
return this.player.selectAsyn('TRASH_CHARM',zones).callback(this,function (zone) {
|
||||
if (!zone) return;
|
||||
var card = zone.cards[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;
|
||||
var card = zone.getActualCards()[0].charm;
|
||||
card.trash();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue