From f195d859edd504d010649c06eec1baa8b2ed68e5 Mon Sep 17 00:00:00 2001 From: lieren2023 <131325076+lieren2023@users.noreply.github.com> Date: Fri, 8 Mar 2024 15:41:15 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E7=A5=9E=E5=AD=99=E6=9D=83?= =?UTF-8?q?=E9=A9=AD=E8=A1=A1=E5=9B=9E=E5=90=88=E7=BB=93=E6=9D=9F=E4=B8=8D?= =?UTF-8?q?=E4=BC=9A=E6=91=B8=E7=89=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/diy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/character/diy.js b/character/diy.js index 9c060b60e..0cae0351b 100755 --- a/character/diy.js +++ b/character/diy.js @@ -17684,9 +17684,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.additionalSkills.junkyuheng&&player.additionalSkills.junkyuheng.length>0; }, async content(event,trigger,player){ - const skills = player.additionalSkills.junkyuheng; + const skillslength = player.additionalSkills.junkyuheng.length; await player.removeAdditionalSkills('junkyuheng'); - await player.draw(skills.length); + await player.draw(skillslength); }, }, },