From 0842aaaaebc3ae5d058418f722734600cb7e87b7 Mon Sep 17 00:00:00 2001 From: libccy Date: Tue, 28 Mar 2017 11:43:53 +0800 Subject: [PATCH] t --- card/sp.js | 2 +- game/game.js | 151 +++++++++++++++++++++------------------- game/update.js | 8 +-- layout/long2/layout.css | 8 +++ 4 files changed, 91 insertions(+), 78 deletions(-) diff --git a/card/sp.js b/card/sp.js index c10745204..041a1da36 100644 --- a/card/sp.js +++ b/card/sp.js @@ -81,7 +81,7 @@ card.sp={ type:'trick', selectTarget:2, multitarget:true, - targetprompt:['交给其一张牌','得两张牌'], + targetprompt:['给一张牌','得两张牌'], filterTarget:function(card,player,target){ return target!=player; }, diff --git a/game/game.js b/game/game.js index 5f80faba0..622239c5a 100644 --- a/game/game.js +++ b/game/game.js @@ -6230,35 +6230,35 @@ }); } } - lib.cardSelectObserver=new MutationObserver(function(mutations){ - for(var i=0;i0){ - selectable[0].classList.remove('selectable'); + if((args.length==0||args.contains('card'))&&_status.event.player){ + var cards=_status.event.player.getCards('hej'); + for(j=0;j0){ - selected[0].classList.remove('selected'); - } - if(_status.event.player){ - var cards=_status.event.player.getCards('hej'); - for(j=0;jdiv{ + height: 120px; + top: 60px; +} #arena:not(.chess):not(.single-handcard) #handcards1{ width:calc(100% - 240px); left:calc(150% / 47 - 300% / 94 + 625% / 47 - 105px + 120px);