修复谋看破记录次数无限的问题

This commit is contained in:
kuangshen04 2024-01-20 12:50:00 +08:00
parent 73f09e3923
commit 06023fbbe7
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
const event=get.event();
if(!event.isMine()) return;
if(button.classList.contains('selectable')==false) return;
if(ui.selected.buttons.length>=lib.skill.sbkanpo.getNumber) return false;
if(ui.selected.buttons.length>=sum) return false;
button.classList.add('selected');
ui.selected.buttons.push(button);
let counterNode=button.querySelector('.caption');