diff --git a/script-universal_function.js b/script-universal_function.js index f2637103..06384223 100644 --- a/script-universal_function.js +++ b/script-universal_function.js @@ -1160,8 +1160,9 @@ function countTeamHp(team, leader1id, leader2id, solo, noAwoken = false) { tAssist.awoken = 0; } const ability = noAwoken ? tMember.abilityNoAwoken : tMember.ability; - const hp = ability ? ability[0] : 0; - if (!hp) return 0; + const hp = ability?.[0] ?? 0; + if (!hp) continue; + const mulHP = hp * memberHpMul(tMember, tAssist, ls2, memberArr, solo) //战友队长技 * memberHpMul(tMember, tAssist, ls1, memberArr, solo);//我方队长技 diff --git a/service-worker.js b/service-worker.js index b125e349..106fee2c 100644 --- a/service-worker.js +++ b/service-worker.js @@ -20563,7 +20563,7 @@ const cachesMap = new Map([ ], [ "script-universal_function.js", - "2b9a65a604cc3bd88d74ac8394e3efbf" + "83a9efda1972c4bfc104743760e2de97" ], [ "script.js",