This commit is contained in:
libccy 2017-05-08 09:33:03 +08:00
parent 7fd704318d
commit 41b27ae984
2 changed files with 2 additions and 2 deletions

View File

@ -875,7 +875,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(get.is.altered('ywuhun')){
player.addSkill('ywuhun_end');
}
player.phase();
player.phase('ywuhun');
'step 2'
player.removeSkill('ywuhun_end');
game.delay(0.5);

View File

@ -39381,7 +39381,7 @@
}
if(ui.dialog&&!ui.dialog.classList.contains('noupdate')){
if(game.chess){
if(ui.dialog.content.scrollHeight<240&&(!ui.dialog.buttons||!ui.dialog.buttons.length)){
if(ui.dialog.content.scrollHeight<240&&(!ui.dialog.buttons||!ui.dialog.buttons.length)&&!ui.dialog.forcebutton){
ui.dialog.style.height=ui.dialog.content.offsetHeight+'px';
ui.dialog.classList.add('slim');
}