From 440e60b80559a2fb0a12023816b5bb3563d89c75 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Thu, 22 Feb 2024 10:55:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B0=8B=E6=94=BB=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=BB=E5=85=AC=E4=BA=AE=E5=B0=86=E8=8E=B7=E5=BE=97?= =?UTF-8?q?=E4=B8=BB=E5=85=AC=E6=8A=80=E5=BC=B9=E7=AA=97bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/identity.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mode/identity.js b/mode/identity.js index c1a68d4bf..a78823208 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -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;