diff --git a/game/game.js b/game/game.js index 11eae6e1f..9ede26ca6 100644 --- a/game/game.js +++ b/game/game.js @@ -1214,6 +1214,7 @@ list[i].classList.remove('linked2'); } } + ui.updatem(); } }, cardshape:{ @@ -5763,7 +5764,7 @@ } }, gs:function(name,act){ - var card=game.createCard('spell_'+name); + var card=game.createCard('spell_'+(name||'yexinglanghun')); game.me.node.handcards1.appendChild(card); if(!act){ game.me.actused=-99; @@ -5772,7 +5773,7 @@ setTimeout(game.check,300); }, gc:function(name,act){ - var card=game.createCard('stone_'+name+'_stonecharacter'); + var card=game.createCard('stone_'+(name||'falifulong')+'_stonecharacter'); game.me.node.handcards1.appendChild(card); if(!act){ game.me.actused=-99; @@ -34413,6 +34414,7 @@ var es=node.get('e'); for(var i=0;i
'+es[i].outerHTML+'
'+lib.translate[es[i].name+'_info']+'
'); + uiintro.content.lastChild.querySelector('.skill>.card').style.transform=''; } var js=node.get('j'); for(var i=0;i
'+js[i].outerHTML+'
'+lib.translate[js[i].name+'_info']+'
'); } + uiintro.content.lastChild.querySelector('.skill>.card').style.transform=''; } } var modepack=lib.characterPack['mode_'+get.mode()]; diff --git a/layout/default/layout.css b/layout/default/layout.css index a992837c7..600bad826 100644 --- a/layout/default/layout.css +++ b/layout/default/layout.css @@ -1251,7 +1251,16 @@ margin-bottom: 5px; .judges{left: 14px;top: -18px;} .marks{left: 14px;top: 112px;} .player>.marks{z-index: 4} -.judges>div,.marks>div{width: 24px;height: 24px;margin: 0;left: 0;top: 0;opacity: 1;position: absolute;} +.judges>div,.marks>div{ + width: 24px; + height: 24px; + margin: 0; + left: 0; + top: 0; + opacity: 1; + position: absolute; + line-height:20px; +} .hp{left: 18px;top:14px;width: 72px;line-height: 14px;text-align: left;} .hp.text{top:18px;} diff --git a/layout/mobile/layout.css b/layout/mobile/layout.css index 51c951fb7..e34c1febb 100644 --- a/layout/mobile/layout.css +++ b/layout/mobile/layout.css @@ -242,6 +242,7 @@ #arena:not(.chess) .player[data-position='0']>.judges{ left: 6px; top: -16px; + transform: none; } #arena:not(.chess) .player[data-position='0']>.marks { right: -6px;