fix WX10-096 action

This commit is contained in:
WEBXOSS 2017-03-12 00:19:38 +08:00
parent 0e857dd63c
commit 627a13ac6a

View file

@ -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();
});
});