2024年5月22日 v21.6刚开服
This commit is contained in:
parent
7e73de673e
commit
ac373d972c
|
@ -2,25 +2,25 @@
|
|||
{
|
||||
"code": "ja",
|
||||
"ckey": {
|
||||
"card": "709bc3ffdc7bc0f24204b4406686747c",
|
||||
"card": "a16a83959493064bb4e0096d98377d96",
|
||||
"skill": "a3436a8a49e1fe0d1c8dbb14217f17c6"
|
||||
},
|
||||
"updateTime": 1715963879841
|
||||
"updateTime": 1716354638120
|
||||
},
|
||||
{
|
||||
"code": "en",
|
||||
"ckey": {
|
||||
"card": "bebc30a46b4eec9e6d83803db4cc734e",
|
||||
"card": "a4b7e63bfec0aff9fc37cf192d9be0b2",
|
||||
"skill": "0a759c657e0a95a615245b3c76aa54c9"
|
||||
},
|
||||
"updateTime": 1715963879841
|
||||
"updateTime": 1716354638120
|
||||
},
|
||||
{
|
||||
"code": "ko",
|
||||
"ckey": {
|
||||
"card": "ed3b574caac43caf792a8c1ba20296d3",
|
||||
"card": "c8b7d2adbbd50afe323fa9160b301a23",
|
||||
"skill": "6303aaa3d0a58d2982f2dcadcf8160f2"
|
||||
},
|
||||
"updateTime": 1715963879841
|
||||
"updateTime": 1716354638120
|
||||
}
|
||||
]
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -92,6 +92,15 @@ class Card{
|
|||
card.unk08 = data[i++]; //未知08
|
||||
card.attrs.push(data[i++]); //属性3
|
||||
card.badgeId = data[i++]; //抽到后获取的徽章ID
|
||||
card.syncAwakening = data[i++]; //同步觉醒
|
||||
const numSyncAkCondition = data[i++]; //同步觉醒条件数量
|
||||
|
||||
//同步觉醒条件
|
||||
card.syncAwakeningConditions = Array.from(new Array(numSyncAkCondition ?? 0)).map(() => ({
|
||||
id: Card.fixId(data[i++]), //怪物ID
|
||||
level: data[i++], //怪物等级
|
||||
skillLeval: data[i++], //怪物技能等级
|
||||
}));
|
||||
|
||||
card.attrs = card.attrs.filter(Number.isInteger);
|
||||
if (card.attrs.indexOf(-1)>0)
|
||||
|
|
|
@ -4216,6 +4216,9 @@ const specialSearchFunctions = (function() {
|
|||
},
|
||||
]},
|
||||
{group:true,name:"====== Awoken ======",otLangName:{chs:"======觉醒类======",cht:"======覺醒類======"}, functions: [
|
||||
{name:"Have Sync Awoken",otLangName:{chs:"有同步觉醒",cht:"有同步覺醒"},
|
||||
function:cards=>cards.filter(card=>card.syncAwakening)
|
||||
},
|
||||
{name:"8 latent grids",otLangName:{chs:"8格潜觉",cht:"8格潛覺"},
|
||||
function:cards=>cards.filter(card=>card.is8Latent)
|
||||
},
|
||||
|
|
12
script.js
12
script.js
|
@ -349,6 +349,8 @@ class Card {
|
|||
#leaderSkillTypes = null;
|
||||
gachaGroupsFlag = 0;
|
||||
badgeId = 0;
|
||||
syncAwakening = null;
|
||||
syncAwakeningConditions = [];
|
||||
|
||||
unk01 = null;
|
||||
unk02 = null;
|
||||
|
@ -469,6 +471,15 @@ class Card {
|
|||
this.unk08 = e.next().value?.[1]; //未知08
|
||||
this.attrs.push(e.next().value?.[1]); //属性3
|
||||
this.badgeId = e.next().value?.[1]; //抽到后获取的徽章ID
|
||||
this.syncAwakening = e.next().value?.[1]; //同步觉醒
|
||||
const numSyncAkCondition = e.next().value?.[1]; //同步觉醒条件数量
|
||||
for (let ci = 0; ci < numSyncAkCondition; ci++) {
|
||||
this.syncAwakeningConditions.push({
|
||||
id: Card.fixId(e.next().value?.[1]), //怪物ID
|
||||
level: e.next().value?.[1], //怪物等级
|
||||
skillLeval: e.next().value?.[1], //怪物技能等级
|
||||
});
|
||||
}
|
||||
|
||||
this.attrs = this.attrs.filter(n=>Number.isInteger(n) && n>=0);
|
||||
this.types = this.types.filter(n=>Number.isInteger(n) && n>=0);
|
||||
|
@ -2190,6 +2201,7 @@ function loadData(force = false)
|
|||
card.onlyAssist = Boolean(card.flags & 1<<4);
|
||||
card.gachaIds = Bin.unflags(card.gachaGroupsFlag);
|
||||
card.typesFlag = Bin.enflags(card.types);
|
||||
if (card.syncAwakening && !card.superAwakenings.includes(card.syncAwakening)) card.superAwakenings.push(card.syncAwakening);
|
||||
/*card.unk01p = Bin.unflags(card.unk01);
|
||||
card.unk02p = Bin.unflags(card.unk02);
|
||||
card.unk03p = Bin.unflags(card.unk03);
|
||||
|
|
|
@ -26251,7 +26251,7 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"script-json_data.js",
|
||||
"46afe96eba7ba8786e3e82e46241e863"
|
||||
"1dffb84339b80ead8a7b092318989403"
|
||||
],
|
||||
[
|
||||
"script-skill-parser.js",
|
||||
|
@ -26263,7 +26263,7 @@ const cachesMap = new Map([
|
|||
],
|
||||
[
|
||||
"script.js",
|
||||
"a6df25e88c49f6a89b49d25958640f51"
|
||||
"f01674aeffe2556f5fbecfe1f801b749"
|
||||
],
|
||||
[
|
||||
"solo.html",
|
||||
|
|
Loading…
Reference in New Issue