From 76b0ab8b615418bf31b58b9f93cf325b93028c98 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Fri, 8 Sep 2023 17:55:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=8E=E5=BF=A0=E6=A8=A1=E5=BC=8F=E9=80=82?= =?UTF-8?q?=E9=85=8D=E6=96=B0=E4=B8=BB=E5=85=AC=E6=8A=80=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/identity.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mode/identity.js b/mode/identity.js index 60bafdaf5..8ec7f6943 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -2347,6 +2347,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ game.zhu.ai.shown=1; game.zhu.setIdentity(); game.zhu.isZhu=true; + var skills=player.getStockSkills(true,true).filter(skill=>{ + if(player.hasSkill(skill)) return false; + var info=get.info(skill); + return info&&info.zhuSkill; + }); + if(skills.length){ + for(var i of skills) player.addSkillLog(i); + } game.zhu.node.identity.classList.remove('guessing'); if(lib.config.animation&&!lib.config.low_performance) game.zhu.$legend(); delete game.zhong;