This commit is contained in:
libccy 2017-02-09 14:23:29 +08:00
parent 6b8adac0b6
commit c0956670e7
3 changed files with 16 additions and 3 deletions

View File

@ -1214,6 +1214,7 @@
list[i].classList.remove('linked2'); list[i].classList.remove('linked2');
} }
} }
ui.updatem();
} }
}, },
cardshape:{ cardshape:{
@ -5763,7 +5764,7 @@
} }
}, },
gs:function(name,act){ gs:function(name,act){
var card=game.createCard('spell_'+name); var card=game.createCard('spell_'+(name||'yexinglanghun'));
game.me.node.handcards1.appendChild(card); game.me.node.handcards1.appendChild(card);
if(!act){ if(!act){
game.me.actused=-99; game.me.actused=-99;
@ -5772,7 +5773,7 @@
setTimeout(game.check,300); setTimeout(game.check,300);
}, },
gc:function(name,act){ 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); game.me.node.handcards1.appendChild(card);
if(!act){ if(!act){
game.me.actused=-99; game.me.actused=-99;
@ -34413,6 +34414,7 @@
var es=node.get('e'); var es=node.get('e');
for(var i=0;i<es.length;i++){ for(var i=0;i<es.length;i++){
uiintro.add('<div><div class="skill">'+es[i].outerHTML+'</div><div>'+lib.translate[es[i].name+'_info']+'</div></div>'); uiintro.add('<div><div class="skill">'+es[i].outerHTML+'</div><div>'+lib.translate[es[i].name+'_info']+'</div></div>');
uiintro.content.lastChild.querySelector('.skill>.card').style.transform='';
} }
var js=node.get('j'); var js=node.get('j');
for(var i=0;i<js.length;i++){ for(var i=0;i<js.length;i++){
@ -34422,6 +34424,7 @@
else{ else{
uiintro.add('<div><div class="skill">'+js[i].outerHTML+'</div><div>'+lib.translate[js[i].name+'_info']+'</div></div>'); uiintro.add('<div><div class="skill">'+js[i].outerHTML+'</div><div>'+lib.translate[js[i].name+'_info']+'</div></div>');
} }
uiintro.content.lastChild.querySelector('.skill>.card').style.transform='';
} }
} }
var modepack=lib.characterPack['mode_'+get.mode()]; var modepack=lib.characterPack['mode_'+get.mode()];

View File

@ -1251,7 +1251,16 @@ margin-bottom: 5px;
.judges{left: 14px;top: -18px;} .judges{left: 14px;top: -18px;}
.marks{left: 14px;top: 112px;} .marks{left: 14px;top: 112px;}
.player>.marks{z-index: 4} .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{left: 18px;top:14px;width: 72px;line-height: 14px;text-align: left;}
.hp.text{top:18px;} .hp.text{top:18px;}

View File

@ -242,6 +242,7 @@
#arena:not(.chess) .player[data-position='0']>.judges{ #arena:not(.chess) .player[data-position='0']>.judges{
left: 6px; left: 6px;
top: -16px; top: -16px;
transform: none;
} }
#arena:not(.chess) .player[data-position='0']>.marks { #arena:not(.chess) .player[data-position='0']>.marks {
right: -6px; right: -6px;