修复谋攻模式主公亮将获得主公技弹窗bug

This commit is contained in:
mengxinzxz 2024-02-22 10:55:17 +08:00
parent 1e535df5eb
commit 440e60b805
1 changed files with 2 additions and 1 deletions

View File

@ -3874,7 +3874,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
'step 2'
player.recover();
player.draw();
const skills = player.getStockSkills(true,true).forEach(stockSkill=>{
'step 3'
const skills = player.getStockSkills(true,true).filter(stockSkill=>{
if(player.hasSkill(stockSkill)) return;
var info=get.info(stockSkill);
if(!info||!info.zhuSkill) return;