界钟会【排异】bugfix

This commit is contained in:
mengxinzxz 2023-12-03 08:47:30 +08:00
parent 150ee24a8e
commit e053a6402c
1 changed files with 2 additions and 1 deletions

View File

@ -5693,7 +5693,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
select:2, select:2,
filter:function(button,player){ filter:function(button,player){
if(ui.selected.buttons.length) return (typeof ui.selected.buttons[0].link)!=(typeof button.link) if(typeof button.link=='number'&&player.hasSkill('xinpaiyi_'+button.link)) return false;
if(ui.selected.buttons.length) return (typeof ui.selected.buttons[0].link)!=(typeof button.link);
return true; return true;
}, },
backup:function(links){ backup:function(links){