From e70e9c1830b1c08e3e1dc35fa7189a2973e9d477 Mon Sep 17 00:00:00 2001 From: libccy Date: Thu, 9 Jul 2015 13:21:22 +0800 Subject: [PATCH] =?UTF-8?q?canvas=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/hearth.js | 2 +- game/game.js | 26 +++++++++++++++++--------- layout/default/layout.css | 5 +++++ mode/identity.js | 2 +- 4 files changed, 24 insertions(+), 11 deletions(-) diff --git a/character/hearth.js b/character/hearth.js index c045912be..461434119 100644 --- a/character/hearth.js +++ b/character/hearth.js @@ -1080,7 +1080,7 @@ character.hearth={ dunji:'盾击', dunji_info:'出牌阶段限,你可以失去你的所有护甲,并对等量的其他角色各造成一点伤害', qiaodong:'巧动', - qiaodong_info:'你可以将一张装备牌当作当使用或打出', + qiaodong_info:'你可以将一张装备牌当作闪使用或打出', fengxian:'奉献', fengxian_info:'出牌阶段限一次,你可以令场上所有角色各弃置一张手牌', zhanhou:'战吼', diff --git a/game/game.js b/game/game.js index 538846302..44ad945cd 100644 --- a/game/game.js +++ b/game/game.js @@ -89,8 +89,8 @@ var ctx=ui.ctx; ctx.shadowBlur=5; ctx.shadowColor='rgba(0,0,0,0.3)'; - ctx.fillStyle='white'; ctx.strokeStyle='white'; + ctx.lineCap='round'; ctx.lineWidth=3; ctx.save(); for(var i=0;iitem.offsetLeft&&exitem.offsetTop&&eycanvas{ + z-index: 10; + pointer-events: none; + position: absolute; +} #me,#mebg{width: 100%;height: 140px;top:calc(100% - 140px);left:0;} #mebg{z-index:-1} #handcards1,#handcards2{width: calc(50% - 140px);height: 127px;padding: 10px;} diff --git a/mode/identity.js b/mode/identity.js index 77a2bd308..863b87960 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -580,7 +580,7 @@ mode.identity={ case 'zhong': switch(identity2){ case 'zhu': return 10; - case 'zhong': return get.population('fan')>0?4:-1; + case 'zhong': return get.population('fan')>0?4:0; case 'nei': if(get.population('fan')==0) return -2; return Math.min(3,-situation);