From 3bcb92ff886b6eaa518b076dbdf9419caf2f1622 Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 12 Jul 2017 23:54:48 +0800 Subject: [PATCH] 2 --- card/gwent.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/card/gwent.js b/card/gwent.js index 7125090c8..f60284fb0 100644 --- a/card/gwent.js +++ b/card/gwent.js @@ -695,7 +695,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){ player.$giveAuto(result.cards,target); target.gain(result.cards,player); 'step 2' - player.gainPlayerCard(target,'h',true,2,'visible'); + player.gainPlayerCard(target,'h',true,2,'visible').set('ai',function(button){ + return get.value(button.link); + }); }, ai:{ basic:{