This commit is contained in:
parent
0410788117
commit
faece7c673
|
@ -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){
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue