From 3df6a6ed4d018c61caa624dec6df5c51eb4b5c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Sun, 10 Apr 2022 01:01:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=B8=A4=E5=A4=B4=E9=98=9F?= =?UTF-8?q?=E9=95=BF=E9=83=BD=E6=98=AF=E6=8D=A2=E9=98=9F=E9=95=BF=E6=8A=80?= =?UTF-8?q?=E8=83=BD=E6=97=B6=EF=BC=8C=E5=8F=B3=E4=BE=A7=E9=98=9F=E9=95=BF?= =?UTF-8?q?=E8=83=BD=E4=BD=BF=E7=94=A8=E6=8D=A2=E9=98=9F=E9=95=BF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 339ffce9..e0d190e9 100644 --- a/script.js +++ b/script.js @@ -4301,8 +4301,9 @@ function refreshAll(formationData) { const latent = latentLi.querySelector(`.latent-ul`); changeid(teamData[0][ti], member, latent); //队员 changeid(teamData[1][ti], assist); //辅助 - //如果换队长技能 - if (leaderIdx == 0 && (ti == 0 || ti == 5)) + //隐藏队长的自身换为换队长的技能 + if (ti == 5 || //好友队长永远隐藏 + leaderIdx == 0 && ti == 0 ) //当没换队长时,自身队长的欢队长技能隐藏 { const card_m = Cards[teamData[0][ti].id] || Cards[0]; const card_a = Cards[teamData[1][ti].id] || Cards[0];