This commit is contained in:
libccy 2017-05-31 19:26:06 +08:00
parent 0410788117
commit faece7c673
4 changed files with 5 additions and 4 deletions

View File

@ -411,6 +411,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
var rank=get.rank(current,true);
if(current.maxHp>=3){
if(current.hp<=1){
if(att>0) return att*3+2;
return att*3;
}
else if(current.hp==2){

View File

@ -6020,7 +6020,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(players[i]!=player&&players[i].getEquip(1)) list.push(players[i].getEquip(1));
}
}
var dialog=ui.create.dialog('神工',list);
var dialog=ui.create.dialog(get.prompt('shengong'),list);
for(var i=0;i<dialog.buttons.length;i++){
dialog.buttons[i].querySelector('.info').innerHTML=get.translation(get.owner(dialog.buttons[i].link));
}

View File

@ -34951,7 +34951,7 @@
_status.clicked2=true;
});
if(heightset){
dialog.style.height=(game.layout=='long2'?410:360)+'px';
dialog.style.height=(game.layout=='long2'?410:350)+'px';
dialog._scrollset=true;
}
dialog.getCurrentCapt=function(link,capt,noalph){
@ -39976,7 +39976,7 @@
ui.dialog.classList.add('scroll1');
ui.dialog.classList.add('scroll2');
if(game.layout!='default'){
ui.dialog.style.height=Math.min(height1,(game.layout=='long2'&&ui.arena.classList.contains('choose-character'))?410:360)+'px';
ui.dialog.style.height=Math.min(height1,(game.layout=='long2'&&ui.arena.classList.contains('choose-character'))?410:350)+'px';
ui.dialog._scrollset=true;
}
}

View File

@ -1459,7 +1459,7 @@ div:not(.handcards)>.card>.info>span,
position: relative;
margin: 8px;
}
.content>.caption + .buttons{
.content>.caption + .buttons:not(*:last-child){
margin: 0
}
.content>.config {