Browse Source

修复队伍觉醒总计存在大觉醒的问题

pull/1/head
枫谷剑仙 2 years ago
parent
commit
5c3441bdd6
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      script.js
  2. +1
    -1
      service-worker.js

+ 4
- 1
script.js View File

@@ -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);


+ 1
- 1
service-worker.js View File

@@ -14563,7 +14563,7 @@ const cachesMap = new Map([
],
[
"script.js",
"269cc9a234450e31be34d11595acd6ea"
"7a87b43dc838bd85967e78d4fce2ab94"
],
[
"solo.html",


Loading…
Cancel
Save