diff --git a/multi.html b/multi.html
index c4237200..b7f0fccb 100644
--- a/multi.html
+++ b/multi.html
@@ -1619,6 +1619,7 @@ const teamsCount = 2;
+
diff --git a/script.js b/script.js
index 66ada760..cf2c136a 100644
--- a/script.js
+++ b/script.js
@@ -4177,13 +4177,16 @@ function initialize() {
editBox.memberIdx = []; //储存队伍数组下标
editBox.show = function() {
this.classList.remove(className_displayNone);
- formationBox.classList.add("blur-bg");
- controlBox.classList.add("blur-bg");
+ //解决SVG问题
+ const activeSkillTitle = skillBox.querySelector("#active-skill-title");
+ const evolvedSkillTitle = skillBox.querySelector("#evolved-skill-title");
+ const leaderSkillTitle = leaderSkillBox.querySelector("#leader-skill-title");
+ svgGradientTextLengthRestore(activeSkillTitle);
+ svgGradientTextLengthRestore(evolvedSkillTitle);
+ svgGradientTextLengthRestore(leaderSkillTitle);
};
editBox.hide = function() {
this.classList.add(className_displayNone);
- formationBox.classList.remove("blur-bg");
- controlBox.classList.remove("blur-bg");
// if (isGuideMod) {
// const url = new URL(location);
// url.searchParams.delete("guide");
@@ -6343,13 +6346,6 @@ function editBoxChangeMonId(id) {
btnDone.disabled = card.onlyAssist;
}
- //解决SVG问题
- const activeSkillTitle = skillBox.querySelector("#active-skill-title");
- const evolvedSkillTitle = skillBox.querySelector("#evolved-skill-title");
- const leaderSkillTitle = lskillBox.querySelector("#leader-skill-title");
- svgGradientTextLengthRestore(activeSkillTitle);
- svgGradientTextLengthRestore(evolvedSkillTitle);
- svgGradientTextLengthRestore(leaderSkillTitle);
//去除所有不能再打的潜觉
editBox.latent = editBox.latent.filter(lat => allowLatent.includes(lat));
@@ -7044,8 +7040,11 @@ function refreshTeamAwokenEfeect(awokenEffectDom, team, ti) {
count += effectiveAwokens.filter(ak=>ak===45).length;
}
targetValue.setAttribute(dataAttrName, (count * 50_0000).bigNumberToString());
+ const percent = Math.min(count * 20, 100);
+ const sheildIcon = targetIcon.parentElement.querySelector("[data-icon-type=\"breaking-shield\"]");
+ sheildIcon.style.setProperty("--percent",`${percent}%`);
const targetValue2 = targetIcon.parentElement.querySelector(".count[data-postfix]");
- targetValue2.setAttribute(dataAttrName, Math.min(count * 20, 100));
+ targetValue2.setAttribute(dataAttrName, percent);
}
//方心追
if (targetIcon = awokenEffectDom.querySelector(".awoken-icon[data-awoken-icon=\"50\"]")) {
@@ -7058,8 +7057,11 @@ function refreshTeamAwokenEfeect(awokenEffectDom, team, ti) {
count += effectiveAwokens.filter(ak=>ak===50).length;
}
targetValue.setAttribute(dataAttrName, (count * 1000_0000).bigNumberToString());
+ const percent = Math.min(count * 50, 100);
+ const sheildIcon = targetIcon.parentElement.querySelector("[data-icon-type=\"breaking-shield\"]");
+ sheildIcon.style.setProperty("--percent",`${percent}%`);
const targetValue2 = targetIcon.parentElement.querySelector(".count[data-postfix]");
- targetValue2.setAttribute(dataAttrName, Math.min(count * 50, 100));
+ targetValue2.setAttribute(dataAttrName, percent);
}
//L心
if (targetIcon = awokenEffectDom.querySelector(".awoken-icon[data-awoken-icon=\"59\"]")) {
diff --git a/service-worker.js b/service-worker.js
index b9d4dc9c..d8b4e362 100644
--- a/service-worker.js
+++ b/service-worker.js
@@ -32323,7 +32323,7 @@ const cachesMap = new Map([
],
[
"multi.html",
- "1275122ce4b4287900394d699dd760f7"
+ "8e9d49f1a8c0e07016dc5ead62dd8317"
],
[
"script-custom_elements.js",
@@ -32343,11 +32343,11 @@ const cachesMap = new Map([
],
[
"script.js",
- "c3790ece064c661191493d0c4748b43e"
+ "0c3b4320ce5d074a165b2db153906b5b"
],
[
"solo.html",
- "61328b2597511e132463331c12cf5c13"
+ "fc0bef8484b1f210fdcb96d16117c50c"
],
[
"style-fix-html2canvas.css",
@@ -32359,7 +32359,7 @@ const cachesMap = new Map([
],
[
"style.css",
- "ad66c4ba48593ffaeff08a4948aa4c5b"
+ "13d72e748820e5448840bef1679aa05f"
],
[
"temp.js",
@@ -32367,7 +32367,7 @@ const cachesMap = new Map([
],
[
"triple.html",
- "e8c4c7088fee60e1b05a204a730d9024"
+ "d1b8716ca989579acb89c695ce011082"
],
[
"languages/en.css",
diff --git a/solo.html b/solo.html
index 9f7b7c1b..803bc1b8 100644
--- a/solo.html
+++ b/solo.html
@@ -588,12 +588,12 @@ const teamsCount = 1;
-
-
+
-
-
+
@@ -1389,6 +1389,7 @@ const teamsCount = 1;
+
diff --git a/style.css b/style.css
index 42d96d7f..377b8c3e 100644
--- a/style.css
+++ b/style.css
@@ -3266,6 +3266,7 @@ a.series-search::before {
}
.team-awoken-effect>ul>li {
display: flex;
+ align-items: center;
}
.team-awoken-effect .team-flags {
display: inline-flex;
@@ -3328,9 +3329,32 @@ a.series-search::before {
width: 32px;
vertical-align: middle;
}
-.team-awoken-effect .icon-skill[data-icon-type="breaking-shield"] {
- transform: scaleX(0.5);
- margin: 0 -18px;
+.team-awoken-effect .meter[data-icon-type="breaking-shield"] {
+ box-sizing: border-box;
+ width: 40px;
+ height: 14px;
+ border-color: #CCC;
+ border-style: solid;
+ border-width: 2px;
+ border-radius: 5px;
+ box-shadow: 0 1px 3px black, 0 0 2px #ddd inset;
+ background-color: #222;
+ outline-color: rgba(0,0,0,0.8);
+ outline-style: solid;
+ outline-width: 1px;
+ display: flex;
+ align-items: center;
+ padding: 1px 2px;
+ background-image: none;
+}
+.team-awoken-effect .meter[data-icon-type="breaking-shield"]::before {
+ box-sizing: border-box;
+ content: "";
+ display: block;
+ width: calc(100% - var(--percent));
+ height: 100%;
+ border: none;
+ background-image: linear-gradient(#BDF, white);
}
/*.team-awoken-effect .latent-icon::before{
opacity: 0.99;
@@ -4922,8 +4946,9 @@ body.external-link-support #external-support{
{
background-position-y:calc(-36px * 38);
}
-.row-mon-leader-skill .icon-skill[data-icon-type="maxhp-locked"] {
- display:none;
+.row-mon-leader-skill .icon-skill[data-icon-type="maxhp-locked"],
+.dungeon-enchance .icon-skill[data-icon-type="maxhp-locked"] {
+ display: none;
}
.icon-skill[data-icon-type="remove-assist"]
{
diff --git a/triple.html b/triple.html
index e72d24ee..d683cbb3 100644
--- a/triple.html
+++ b/triple.html
@@ -595,12 +595,12 @@ const teamsCount = 3;
-
-
+
-
-
+
@@ -1094,12 +1094,12 @@ const teamsCount = 3;
-
-
+
-
-
+
@@ -1593,12 +1593,12 @@ const teamsCount = 3;
-
-
+
-
-
+
@@ -2394,6 +2394,7 @@ const teamsCount = 3;
+