细节更改
This commit is contained in:
parent
202dbca213
commit
27f02d78f9
|
@ -28,13 +28,13 @@
|
|||
.monsterinfo-box .monster-id::before{
|
||||
content: "No.";
|
||||
}
|
||||
.monsterinfo-box .monster-seriesId::before{
|
||||
.monsterinfo-groupId .monster-seriesId::before{
|
||||
content: "Series ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-collabId::before{
|
||||
.monsterinfo-groupId .monster-collabId::before{
|
||||
content: "Collab ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-gachaId::before{
|
||||
.monsterinfo-groupId .monster-gachaId::before{
|
||||
content: "Egg Machine ID:";
|
||||
transform: scaleX(0.62);
|
||||
margin: 0 -25px;
|
||||
|
|
|
@ -30,13 +30,13 @@ label[for="languages"]::after{
|
|||
.monsterinfo-box .monster-id::before{
|
||||
content: "No.";
|
||||
}
|
||||
.monsterinfo-box .monster-seriesId::before{
|
||||
.monsterinfo-groupId .monster-seriesId::before{
|
||||
content: "シリーズ ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-collabId::before{
|
||||
.monsterinfo-groupId .monster-collabId::before{
|
||||
content: "コラボ ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-gachaId::before{
|
||||
.monsterinfo-groupId .monster-gachaId::before{
|
||||
content: "ガチャ ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-altName::before{
|
||||
|
|
|
@ -30,13 +30,13 @@ label[for="languages"]::after{
|
|||
.monsterinfo-box .monster-id::before{
|
||||
content: "No.";
|
||||
}
|
||||
.monsterinfo-box .monster-seriesId::before{
|
||||
.monsterinfo-groupId .monster-seriesId::before{
|
||||
content: "시리즈 ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-gachaId::before{
|
||||
.monsterinfo-groupId .monster-gachaId::before{
|
||||
content: "가챠 ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-collabId::before{
|
||||
.monsterinfo-groupId .monster-collabId::before{
|
||||
content: "콜라보 ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-altName::before{
|
||||
|
|
|
@ -36,13 +36,13 @@ label[for="languages"]::after{
|
|||
.monsterinfo-box .monster-id::before{
|
||||
content: "No.";
|
||||
}
|
||||
.monsterinfo-box .monster-seriesId::before{
|
||||
.monsterinfo-groupId .monster-seriesId::before{
|
||||
content: "系列ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-collabId::before{
|
||||
.monsterinfo-groupId .monster-collabId::before{
|
||||
content: "合作ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-gachaId::before{
|
||||
.monsterinfo-groupId .monster-gachaId::before{
|
||||
content: "抽蛋ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-altName::before{
|
||||
|
|
|
@ -36,13 +36,13 @@ label[for="languages"]::after{
|
|||
.monsterinfo-box .monster-id::before{
|
||||
content: "No.";
|
||||
}
|
||||
.monsterinfo-box .monster-seriesId::before{
|
||||
.monsterinfo-groupId .monster-seriesId::before{
|
||||
content: "系列ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-collabId::before{
|
||||
.monsterinfo-groupId .monster-collabId::before{
|
||||
content: "合作ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-gachaId::before{
|
||||
.monsterinfo-groupId .monster-gachaId::before{
|
||||
content: "抽蛋ID:";
|
||||
}
|
||||
.monsterinfo-box .monster-altName::before{
|
||||
|
|
|
@ -4345,15 +4345,16 @@ const specialSearchFunctions = (function() {
|
|||
},
|
||||
{name:"Will get Orbs skin",otLangName:{chs:"能获得宝珠皮肤",cht:"能獲得寶珠皮膚"},
|
||||
function:cards=>cards.filter(({orbSkinOrBgmId})=>orbSkinOrBgmId>0 && orbSkinOrBgmId<1e4),
|
||||
addition:({orbSkinOrBgmId})=>`ID.${orbSkinOrBgmId}`
|
||||
addition:({orbSkinOrBgmId})=>Boolean(orbSkinOrBgmId) && `ID.${orbSkinOrBgmId}`
|
||||
},
|
||||
{name:"Will get BGM",otLangName:{chs:"能获得背景音乐",cht:"能獲得背景音樂"},
|
||||
function:cards=>cards.filter(({orbSkinOrBgmId})=>orbSkinOrBgmId>=1e4),
|
||||
addition:({orbSkinOrBgmId})=>`ID.${orbSkinOrBgmId}`
|
||||
addition:({orbSkinOrBgmId})=>Boolean(orbSkinOrBgmId) && `ID.${orbSkinOrBgmId}`
|
||||
},
|
||||
{name:"Will get Team Badge",otLangName:{chs:"能获得队伍徽章",cht:"能獲得隊伍徽章"},
|
||||
function:cards=>cards.filter(({badgeId})=>badgeId),
|
||||
addition:({badgeId})=>{
|
||||
if (!badgeId) return;
|
||||
const fragment = document.createDocumentFragment();
|
||||
fragment.append(`ID.${badgeId}`);
|
||||
const icon = document.createElement("icon");
|
||||
|
@ -4375,6 +4376,8 @@ const specialSearchFunctions = (function() {
|
|||
{name:"Not stacked material",otLangName:{chs:"不堆叠的素材",cht:"不堆疊的素材"},
|
||||
function:cards=>cards.filter(card=>!card.stackable && card.types.some(t=>[0,12,14,15].includes(t))),
|
||||
},
|
||||
]},
|
||||
{group:true,name:"----- Additional display -----",otLangName:{chs:"----- 附加显示 -----",cht:"----- 附加显示 -----"}, functions: [
|
||||
{name:"Show Original Name",otLangName:{chs:"显示怪物原始名称",cht:"显示怪物原始名稱"},
|
||||
function:cards=>cards,
|
||||
addition:card=>card.name
|
||||
|
@ -4399,6 +4402,29 @@ const specialSearchFunctions = (function() {
|
|||
function:cards=>cards,
|
||||
addition:card=>`COST ${card.cost}`
|
||||
},
|
||||
{name:"Show Card Group ID",otLangName:{chs:"显示角色分组ID",cht:"顯示角色分組ID"},
|
||||
function:cards=>cards,
|
||||
addition:card=>{
|
||||
const ul = document.createElement("ul");
|
||||
ul.className = "monsterinfo-groupId";
|
||||
const mSeriesId = ul.appendChild(document.createElement("li"));
|
||||
mSeriesId.className = "monster-seriesId";
|
||||
mSeriesId.textContent = card.seriesId;
|
||||
mSeriesId.setAttribute(dataAttrName, card.seriesId);
|
||||
mSeriesId.classList.toggle(className_displayNone, !card.seriesId);
|
||||
const mCollabId = ul.appendChild(document.createElement("li"));
|
||||
mCollabId.className = "monster-collabId";
|
||||
mCollabId.textContent = card.collabId;
|
||||
mCollabId.setAttribute(dataAttrName, card.collabId);
|
||||
mCollabId.classList.toggle(className_displayNone, !card.collabId);
|
||||
const mGachaId = ul.appendChild(document.createElement("li"));
|
||||
mGachaId.className = "monster-gachaId";
|
||||
mGachaId.textContent = card.gachaIds.join();
|
||||
mGachaId.setAttribute(dataAttrName, card.gachaIds.join());
|
||||
mGachaId.classList.toggle(className_displayNone, !card.gachaIds.length);
|
||||
return ul;
|
||||
}
|
||||
},
|
||||
]},
|
||||
];
|
||||
return functions;
|
||||
|
|
|
@ -1191,21 +1191,18 @@ function showSearchBySeriesId(sId, sType) {
|
|||
switch (sType) {
|
||||
case "collab": {//合作
|
||||
if (!Number.isInteger(sId)) sId = parseInt(sId, 10);
|
||||
showSearch(Cards.filter(card => card.collabId == sId),
|
||||
card => card.collabId);
|
||||
showSearch(Cards.filter(card => card.collabId == sId));
|
||||
break;
|
||||
}
|
||||
case "gacha": {//桶,是数组
|
||||
if (!sId.every(id=>Number.isInteger(id))) sId = sId,map(id=>parseInt(id, 10));
|
||||
showSearch(sId.flatMap(gachaId=>Cards.filter(card => card.gachaIds.includes(gachaId))),
|
||||
card => card.gachaIds.join());
|
||||
showSearch(sId.flatMap(gachaId=>Cards.filter(card => card.gachaIds.includes(gachaId))));
|
||||
break;
|
||||
}
|
||||
case "series":
|
||||
default: { //系列
|
||||
if (!Number.isInteger(sId)) sId = parseInt(sId, 10);
|
||||
showSearch(Cards.filter(card => card.seriesId == sId),
|
||||
card => card.seriesId);
|
||||
showSearch(Cards.filter(card => card.seriesId == sId));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5965,8 +5965,8 @@ function editMember(teamNum, isAssist, indexInTeam) {
|
|||
editBox.reCalculateAbility();
|
||||
|
||||
//自动选中ID狂,以方便修改
|
||||
monstersID.focus();
|
||||
monstersID.select();
|
||||
//monstersID.focus();
|
||||
//monstersID.select();
|
||||
}
|
||||
//编辑窗,修改怪物ID
|
||||
function editBoxChangeMonId(id) {
|
||||
|
|
|
@ -32319,7 +32319,7 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"script-json_data.js",
|
||||
"e6ed32d5988d693a323f2b3447d3debd"
|
||||
"9fa903b7626ba07214e8e0eee5c1e727"
|
||||
],
|
||||
[
|
||||
"script-skill-parser.js",
|
||||
|
@ -32327,11 +32327,11 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"script-universal_function.js",
|
||||
"23209e5aee458faeb1282ae19fe7bc3e"
|
||||
"3dce522c470f4467770beee0d0da373c"
|
||||
],
|
||||
[
|
||||
"script.js",
|
||||
"dc322be758e879d0c5ad90c5a891687c"
|
||||
"4a1f2eb029b504915689566bb5662b9a"
|
||||
],
|
||||
[
|
||||
"solo.html",
|
||||
|
@ -32355,7 +32355,7 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"languages/en.css",
|
||||
"67b83a234625b0eaf862297381468b99"
|
||||
"c7abc60c4d5ce2714fd955f09c6ad477"
|
||||
],
|
||||
[
|
||||
"languages/en.js",
|
||||
|
@ -32363,7 +32363,7 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"languages/ja.css",
|
||||
"e26f6a6dd6b37dcd037d96aedc66ed2f"
|
||||
"21aef0c61a6ff92fac58a4cbf373a8c6"
|
||||
],
|
||||
[
|
||||
"languages/ja.js",
|
||||
|
@ -32371,7 +32371,7 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"languages/ko.css",
|
||||
"809fde0cadfafb0ded31cc52b411578b"
|
||||
"cbff1d800258b0b1273fd93d8577cae9"
|
||||
],
|
||||
[
|
||||
"languages/ko.js",
|
||||
|
@ -32383,7 +32383,7 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"languages/zh-hans.css",
|
||||
"2983021b08b7537b48fc4d1aeb556321"
|
||||
"101f0fb90d5586c2c373b853907169b9"
|
||||
],
|
||||
[
|
||||
"languages/zh-hans.js",
|
||||
|
@ -32391,7 +32391,7 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"languages/zh-hant.css",
|
||||
"12e90b96170f015450c40e49b3921098"
|
||||
"5d6d6923691d5c7d44678f1b310e82a7"
|
||||
],
|
||||
[
|
||||
"languages/zh-hant.js",
|
||||
|
|
Loading…
Reference in New Issue