diff --git a/multi.html b/multi.html index aa99cc42..c7208e10 100644 --- a/multi.html +++ b/multi.html @@ -205,8 +205,8 @@ var formation = new Formation(teamsCount,5);
-
+
  • @@ -218,8 +218,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -231,8 +231,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -244,8 +244,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -257,8 +257,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -343,8 +343,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -358,8 +358,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -373,8 +373,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -388,8 +388,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -403,8 +403,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -472,8 +472,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -487,8 +487,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -502,8 +502,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -517,8 +517,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -532,8 +532,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -616,8 +616,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -629,8 +629,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -642,8 +642,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -655,8 +655,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • @@ -668,8 +668,8 @@ var formation = new Formation(teamsCount,5);
    -
    +
  • diff --git a/script.js b/script.js index 8dd20203..0d46e1cd 100644 --- a/script.js +++ b/script.js @@ -5989,8 +5989,23 @@ function refreshMemberSkillCD(teamDom, team, idx) { const memberSkillCd = memberSkill ? (memberSkill.initialCooldown - (member.skilllevel || memberSkill.maxLevel) + 1) : 0; const assistSkillCd = assistSkill ? (assistSkill.initialCooldown - (assist.skilllevel || assistSkill.maxLevel) + 1) : 0; - memberSkillCdDom.textContent = memberSkillCd; - assistSkillCdDom.textContent = memberSkillCd + assistSkillCd; + memberSkillCdDom.innerHTML = ''; + assistSkillCdDom.innerHTML = ''; + memberSkillCdDom.classList.toggle("loop-skill", memberSkill.type == 233); + if (memberSkill.type == 232 || memberSkill.type == 233) //232是单向进化技能,显示。233是循环进化技能,就不显示了 + { + memberSkillCdDom.append(memberSkillCd); + assistSkillCdDom.append(memberSkillCd+ assistSkillCd); + memberSkill.params.slice(1).forEach(subSkillId=>{ + const subSkill = Skills[subSkillId]; + const memberEvoSkillCd = subSkill.initialCooldown - subSkill.maxLevel + 1; + memberSkillCdDom.append(document.createElement("br"),memberEvoSkillCd); + assistSkillCdDom.append(document.createElement("br"),memberEvoSkillCd+ assistSkillCd); + }); + } else { + memberSkillCdDom.append(memberSkillCd); + assistSkillCdDom.append(memberSkillCd + assistSkillCd); + } if (member?.skilllevel != undefined && member?.skilllevel < memberSkill?.maxLevel) { memberSkillCdDom.classList.remove("max-skill"); diff --git a/solo.html b/solo.html index 441508c2..208160b2 100644 --- a/solo.html +++ b/solo.html @@ -160,8 +160,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -173,8 +173,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -186,8 +186,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -199,8 +199,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -212,8 +212,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -225,8 +225,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -324,8 +324,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -339,8 +339,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -354,8 +354,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -369,8 +369,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -384,8 +384,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -399,8 +399,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • diff --git a/style.css b/style.css index a81ccbae..ddc4ea51 100644 --- a/style.css +++ b/style.css @@ -691,6 +691,9 @@ body:not(.show-mon-id) .monster .id{ content:"CD"; font-size: 10px; } +.monster .skill-cd.loop-skill::before{ + content:"🔁CD"; +} .monster .skill-cd { font-size: 13px; line-height: 13px; diff --git a/triple.html b/triple.html index e3d1adeb..baabca3a 100644 --- a/triple.html +++ b/triple.html @@ -171,8 +171,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -184,8 +184,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -197,8 +197,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -210,8 +210,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -223,8 +223,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -236,8 +236,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -335,8 +335,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -350,8 +350,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -365,8 +365,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -380,8 +380,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -395,8 +395,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -410,8 +410,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -708,8 +708,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -721,8 +721,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -734,8 +734,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -747,8 +747,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -760,8 +760,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -773,8 +773,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -872,8 +872,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -887,8 +887,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -902,8 +902,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -917,8 +917,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -932,8 +932,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -947,8 +947,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1245,8 +1245,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1258,8 +1258,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1271,8 +1271,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1284,8 +1284,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1297,8 +1297,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1310,8 +1310,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1409,8 +1409,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1424,8 +1424,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1439,8 +1439,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1454,8 +1454,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1469,8 +1469,8 @@ var formation = new Formation(teamsCount,6);
    -
    +
  • @@ -1484,8 +1484,8 @@ var formation = new Formation(teamsCount,6);
    -
    +