也支持搜索相同队长技
This commit is contained in:
parent
2b86611770
commit
4dc528ccbe
|
@ -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{
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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
script.js
14
script.js
|
@ -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;
|
||||
|
|
11
style.css
11
style.css
|
@ -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…
Reference in New Issue