也支持搜索相同队长技

This commit is contained in:
枫谷剑仙 2021-08-18 10:58:09 +08:00
parent 2b86611770
commit 4dc528ccbe
8 changed files with 26 additions and 22 deletions

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{

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{

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{

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{

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{

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)

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;

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