Browse Source

也支持搜索相同队长技

tags/v19.3
枫谷剑仙 4 years ago
parent
commit
4dc528ccbe
8 changed files with 26 additions and 22 deletions
  1. +1
    -1
      languages/en.css
  2. +1
    -1
      languages/ja.css
  3. +1
    -1
      languages/ko.css
  4. +1
    -1
      languages/zh-TW.css
  5. +1
    -1
      languages/zh.css
  6. +0
    -13
      script-universal_function.js
  7. +14
    -0
      script.js
  8. +7
    -4
      style.css

+ 1
- 1
languages/en.css View File

@@ -9,7 +9,7 @@
.status.loading-skill-info .text::before{
content: "Loading skill data, please wait...";
}
.status.prepare-cauture .text::before{
.status.prepare-capture .text::before{
content: "Preparing a screenshot, please wait...";
}
.delay .monster::before{


+ 1
- 1
languages/ja.css View File

@@ -8,7 +8,7 @@
.status.loading-skill-info .text::before{
content: "スキル データを読み込んでいます。";
}
.status.prepare-cauture .text::before{
.status.prepare-capture .text::before{
content: "スクリーンショットを準備しています。";
}
.delay .monster::before{


+ 1
- 1
languages/ko.css View File

@@ -9,7 +9,7 @@
.status.loading-skill-info .text::before{
content: "기술 데이터를 로드 하 고 있습니다.";
}
.status.prepare-cauture .text::before{
.status.prepare-capture .text::before{
content: "스크린 샷을 준비 하 고 있습니다.";
}
.delay .monster::before{


+ 1
- 1
languages/zh-TW.css View File

@@ -9,7 +9,7 @@
.status.loading-skill-info .text::before{
content: "正在載入技能数据,请稍候……";
}
.status.prepare-cauture .text::before{
.status.prepare-capture .text::before{
content: "正在准備截圖,請稍後……";
}
.help-link::before{


+ 1
- 1
languages/zh.css View File

@@ -9,7 +9,7 @@
.status.loading-skill-info .text::before{
content: "正在加载技能数据,请稍候……";
}
.status.prepare-cauture .text::before{
.status.prepare-capture .text::before{
content: "正在准备截图,请稍候……";
}
.help-link::before{


+ 0
- 13
script-universal_function.js View File

@@ -656,19 +656,6 @@ function searchCollab(event) {
showSearch(Cards.filter(card => card.collabId == collabId));
return false;
}
//按住Ctrl点击技能在控制台输出技能的对象
function fastShowSkill(event) {
const skillId = parseInt(this.getAttribute("data-skillid"), 10); //获得当前技能ID
if (event.ctrlKey) {
const skillId = parseInt(this.getAttribute("data-skillid"), 10);
console.debug(Skills[skillId]);
return;
};
const s_cards = Cards.filter(card => card.activeSkillId === skillId); //搜索同技能怪物
if (s_cards.length > 1) {
showSearch(s_cards); //显示
}
}
//将怪物的文字介绍解析为HTML
function descriptionToHTML(str)


+ 14
- 0
script.js View File

@@ -4365,6 +4365,20 @@ function refreshMemberSkillCD(teamDom, team, idx) {
}
}

//按住Ctrl点击技能在控制台输出技能的对象
function fastShowSkill(event) {
const skillId = parseInt(this.getAttribute("data-skillid"), 10); //获得当前技能ID
if (event.ctrlKey) {
const skillId = parseInt(this.getAttribute("data-skillid"), 10);
console.debug(Skills[skillId]);
return;
};
const s_cards = Cards.filter(card => card.activeSkillId === skillId || card.leaderSkillId === skillId); //搜索同技能怪物
if (s_cards.length > 1) {
showSearch(s_cards); //显示
}
}

function localisation($tra) {
if (!$tra) return;
document.title = $tra.webpage_title;


+ 7
- 4
style.css View File

@@ -185,7 +185,7 @@ input:checked+ .config-checkbox-lbl[for$=and-or]::after{
.status.loading-check-version .icon,
.status.loading-mon-info .icon,
.status.loading-skill-info .icon,
.status.prepare-cauture .icon
.status.prepare-capture .icon
{
display: inline-block;
width: 16px;
@@ -2468,11 +2468,14 @@ icon.inflicts::after
color: #84BAFC;
cursor: pointer;
}
.row-mon-skill .skill-title .skill-name:hover::after{
content: "🔍";
}
.row-mon-leader-skill .skill-title .skill-name{
color: #85FD80;
cursor: pointer;
}
.row-mon-skill .skill-title .skill-name:hover::after,
.row-mon-leader-skill .skill-title .skill-name:hover::after
{
content: "🔍";
}
.skill-box .skill-cd-control,
.skill-box .skill-parse-control


Loading…
Cancel
Save