diff --git a/character/xianjian.js b/character/xianjian.js index f934a527b..bcc2b824b 100644 --- a/character/xianjian.js +++ b/character/xianjian.js @@ -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); diff --git a/game/game.js b/game/game.js index c357b1636..23b534c07 100644 --- a/game/game.js +++ b/game/game.js @@ -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'); }