From 627a13ac6abb6940ae9373a00961347d083d0db4 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Sun, 12 Mar 2017 00:19:38 +0800 Subject: [PATCH] fix WX10-096 action --- CardInfo.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CardInfo.js b/CardInfo.js index 026355b..d8e8df0 100644 --- a/CardInfo.js +++ b/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(); }); });