From 5c3441bdd6bcfaf74979dc210f1ab77218511ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Tue, 4 Jul 2023 20:33:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=98=9F=E4=BC=8D=E8=A7=89?= =?UTF-8?q?=E9=86=92=E6=80=BB=E8=AE=A1=E5=AD=98=E5=9C=A8=E5=A4=A7=E8=A7=89?= =?UTF-8?q?=E9=86=92=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 5 ++++- service-worker.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 32a763a2..4d6293cf 100644 --- a/script.js +++ b/script.js @@ -5777,9 +5777,12 @@ function refreshTeamAwokenCount(awokenDom, team) { //搜索等效觉醒 const equivalentAwoken = equivalent_awoken.find(eak => eak.small === ak || eak.big === ak); if (equivalentAwoken?.small === ak) - { //等效觉醒 + { //等效觉醒小 totalNum = awokenCountInTeam(team, equivalentAwoken.small, solo, teamsCount) + awokenCountInTeam(team, equivalentAwoken.big, solo, teamsCount) * equivalentAwoken.times; + } else if (equivalentAwoken?.big === ak) + { //等效觉醒大就跳过 + return; } else { //普通觉醒 totalNum = awokenCountInTeam(team, ak, solo, teamsCount); diff --git a/service-worker.js b/service-worker.js index 6582bfa1..062a0fb6 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14563,7 +14563,7 @@ const cachesMap = new Map([ ], [ "script.js", - "269cc9a234450e31be34d11595acd6ea" + "7a87b43dc838bd85967e78d4fce2ab94" ], [ "solo.html",