From b2104749a1fd66b682ba478299fffbaa84847fd4 Mon Sep 17 00:00:00 2001 From: deardrops Date: Sat, 9 Sep 2017 16:45:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=20coding=20card=20effects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CardInfo.js | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/CardInfo.js b/CardInfo.js index 212d5e5..1e3e716 100644 --- a/CardInfo.js +++ b/CardInfo.js @@ -124699,11 +124699,25 @@ var CardInfo = { "costGreen": 0, "costColorless": 0, "guardFlag": false, - cardSkills: [ + "multiEner": false, + cardText: "あら、お客さんかしら……?~カーニバル~", + // ====================== + // 出场效果 + // ====================== + startUpEffectTexts: [ "【出】手札を1枚捨てる:《コインアイコン》を得る。" ], - "multiEner": false, - cardText: "あら、お客さんかしら……?~カーニバル~" + startUpEffects: [{ + costCondition: function () { + return this.player.hands.length; + }, + costAsyn: function () { + return this.player.discardAsyn(1); + }, + actionAsyn: function () { + this.player.gainCoins(1); + } + }] }, "2443": { "pid": 2443,