原神4.3相关数据与资源更新

This commit is contained in:
Kokomi 2023-12-20 02:56:18 +08:00
parent 658e837b8c
commit 52ff7a5204
11 changed files with 199 additions and 170 deletions

View File

@ -60,12 +60,12 @@ export async function uploadCharacterImg (e) {
imageMessages.push(val)
} else if (val.type === 'xml' || val.type === 'forward') {// 支持合并转发消息内置的图片批量上传,喵喵 喵喵喵? 喵喵喵喵
let resid
try {
resid = val.data.match(/m_resid="(\d|\w|\/|\+)*"/)[0].replace(/m_resid=|"/g, '')
} catch (err) {
console.log('Miao合并上传转换id获取')
resid = val.id
}
try {
resid = val.data.match(/m_resid="(\d|\w|\/|\+)*"/)[0].replace(/m_resid=|"/g, '')
} catch (err) {
console.log('Miao合并上传转换id获取')
resid = val.id
}
if (!resid) break
let message = await e.bot.getForwardMsg(resid)
for (const item of message) {
@ -94,7 +94,7 @@ async function saveImages (e, name, imageMessages) {
let path = resPath + pathSuffix
if (!fs.existsSync(path)) {
Data.createDir("resources/" + pathSuffix, 'miao')
Data.createDir('resources/' + pathSuffix, 'miao')
}
let senderName = lodash.truncate(e.sender.card, { length: 8 })
let imgCount = 0
@ -113,8 +113,8 @@ async function saveImages (e, name, imageMessages) {
e.reply([segment.at(e.user_id, senderName), '添加失败:图片太大了。'])
return true
}
let fileName = ""
let fileType = "png"
let fileName = ''
let fileType = 'png'
if (val.file) {
fileName = val.file.substring(0, val.file.lastIndexOf('.'))
fileType = val.file.substring(val.file.lastIndexOf('.') + 1)
@ -122,7 +122,15 @@ async function saveImages (e, name, imageMessages) {
if (response.headers.get('content-type') === 'image/gif') {
fileType = 'gif'
}
if (isProfile) fileType = 'webp'
if (isProfile) {
// 面板图默认webp
fileType = 'webp'
} else if (!'jpg,jpeg,png,webp'.split(',').includes(fileType)) {
// 角色图像默认jpg
fileType = 'jpg'
}
let imgPath = `${path}/${fileName}.${fileType}`
const streamPipeline = promisify(pipeline)
await streamPipeline(response.body, fs.createWriteStream(imgPath))

View File

@ -1346,7 +1346,11 @@
"star": 4,
"elem": "pyro",
"weapon": "polearm",
"talentId": {},
"talentId": {
"10901": "a",
"10902": "e",
"10905": "q"
},
"talentCons": {
"a": 0,
"e": 3,
@ -1361,7 +1365,11 @@
"star": 5,
"elem": "geo",
"weapon": "claymore",
"talentId": {},
"talentId": {
"10911": "a",
"10912": "e",
"10915": "q"
},
"talentCons": {
"a": 0,
"e": 3,

View File

@ -2,16 +2,16 @@
"id": 10000090,
"name": "夏沃蕾",
"abbr": "夏沃蕾",
"title": "",
"title": "明律决罚",
"star": 4,
"elem": "pyro",
"allegiance": "",
"allegiance": "特巡队",
"weapon": "polearm",
"birth": "1-1",
"birth": "1-10",
"astro": "剑铳座",
"desc": "测试角色",
"cncv": "",
"jpcv": "",
"desc": "时刻恪守着心中「正义」的特巡队队长,手中的铳枪只会指向负罪之人。",
"cncv": "潘丹妮",
"jpcv": "下地紫野",
"costume": false,
"ver": 1,
"baseAttr": {
@ -23,7 +23,11 @@
"key": "hpPct",
"value": 24
},
"talentId": {},
"talentId": {
"10901": "a",
"10902": "e",
"10905": "q"
},
"talentCons": {
"a": 0,
"e": 3,
@ -234,11 +238,11 @@
"name": "近迫式急促拦射",
"desc": [
"夏沃蕾将铳枪快速抵肩,射击敌人,造成火元素范围伤害。",
"夏沃蕾进行射击后的一段时间内,将持续为当前场上角色恢复生命值,回复量受益于夏沃蕾的生命值上限。",
"长按时将以不同的方式施放。",
"<h3>长按</h3>",
"进入瞄准状态,锁定准星内的一名敌人,进行更为精确的拦截射击;若夏沃蕾拥有「超量装药弹头」,则转为发射「超量装药弹头」,造成范围更大、伤害更高的火元素伤害。",
"夏沃蕾将在队伍中附近的角色触发超载反应时获得1枚「超量装药弹头」。至多同时持有1枚「超量装药弹头」。",
"夏沃蕾进行射击后的一段时间内,将持续为当前场上角色恢复生命值,回复量受益于夏沃蕾的生命值上限。",
"<h3>始基力:荒性</h3>",
"每隔一段时间,夏沃蕾的「近迫式急促拦射」命中时,将唤出流涌之刃,造成具有荒性的火元素伤害。",
"<i>「其实训练条令里只有『拦射』这个术语,但有本小说的主角认为,包含专业词汇的招式名能让自己人更有干劲,让敌人输在气势的起跑线上…我觉得很有道理,就改了改条令!」</i>"
@ -1003,7 +1007,7 @@
"1": {
"name": "稳固阵线的魄力",
"desc": [
"处于「协同战法」状态下的角色不包括夏沃蕾自己触发超载反应时将恢复6点元素能量。此效果每10秒至多触发一次。",
"当前场上处于「协同战法」状态下的角色不包括夏沃蕾自己触发超载反应时将恢复6点元素能量。此效果每10秒至多触发一次。",
"需要解锁固有天赋「尖兵协同战法」。"
]
},
@ -1023,7 +1027,7 @@
"4": {
"name": "多重速射的秘诀",
"desc": [
"施放圆阵掷弹爆轰术后,夏沃蕾长按施放近迫式急促拦射的冷却时间降低100%该效果至多持续6秒将在长按施放近迫式急促拦射2次后移除。"
"施放圆阵掷弹爆轰术后,夏沃蕾长按施放近迫式急促拦射不会进入冷却该效果至多持续6秒将在长按施放近迫式急促拦射2次后移除。"
]
},
"5": {
@ -1036,8 +1040,8 @@
"6": {
"name": "终结罪恶的追缉",
"desc": [
"近迫式急促拦射的治疗效果持续12秒后将为队伍中附近的所有角色恢复生命值回复量相当于夏沃蕾生命值上限的10%。",
"队伍中的角色受到「近迫式急促拦射」的治疗后获得20%火元素伤害加成与雷元素伤害加成持续8秒此效果至多叠加3层。"
"近迫式急促拦射的治疗效果持续12秒后将为队伍中附近的所有角色恢复一次生命值回复量相当于夏沃蕾生命值上限的10%。",
"队伍中的角色受到「近迫式急促拦射」的治疗后获得20%火元素伤害加成与雷元素伤害加成持续8秒此效果至多叠加3层,每层独立计算持续时间。"
]
}
},
@ -1053,7 +1057,8 @@
"name": "尖兵协同战法",
"desc": [
"队伍中所有角色的元素类型均为火元素与雷元素,并且至少有一名火元素角色、一名雷元素角色时:",
"夏沃蕾将为队伍中附近的角色施加「协同战法」角色触发超载反应后受本次反应影响的敌人的火元素与雷元素抗性降低40%持续6秒。"
"夏沃蕾将为队伍中附近的角色施加「协同战法」角色触发超载反应后受本次反应影响的敌人的火元素与雷元素抗性降低40%持续6秒。",
"当队伍中角色的元素类型不满足本固有天赋的条件时,将移除已有的协同战法效果。"
]
},
{

View File

@ -2,16 +2,16 @@
"id": 10000091,
"name": "娜维娅",
"abbr": "娜维娅",
"title": "",
"title": "明花蔓舵",
"star": 5,
"elem": "geo",
"allegiance": "",
"allegiance": "刺玫会",
"weapon": "claymore",
"birth": "1-1",
"birth": "8-16",
"astro": "野蔷薇座",
"desc": "测试角色",
"cncv": "",
"jpcv": "",
"desc": "刺玫会现任会长,一位可爱、尽责的好老板。",
"cncv": "小敢",
"jpcv": "丰崎爱生",
"costume": false,
"ver": 1,
"baseAttr": {
@ -23,7 +23,11 @@
"key": "cdmg",
"value": 38.4
},
"talentId": {},
"talentId": {
"10911": "a",
"10912": "e",
"10915": "q"
},
"talentCons": {
"a": 0,
"e": 3,
@ -295,21 +299,21 @@
"unit": "",
"isSame": false,
"values": [
"307.2%",
"330.24%",
"353.28%",
"384%",
"407.04%",
"430.08%",
"460.8%",
"491.52%",
"522.24%",
"552.96%",
"583.68%",
"614.4%",
"652.8%",
"691.2%",
"729.6%"
"394.8%",
"424.41%",
"454.02%",
"493.5%",
"523.11%",
"552.72%",
"592.2%",
"631.68%",
"671.16%",
"710.64%",
"750.12%",
"789.6%",
"838.95%",
"888.3%",
"937.65%"
]
},
{
@ -339,21 +343,21 @@
"unit": "",
"isSame": false,
"values": [
"33.6%",
"36.12%",
"38.64%",
"42%",
"44.52%",
"47.04%",
"36%",
"38.7%",
"41.4%",
"45%",
"47.7%",
"50.4%",
"53.76%",
"57.12%",
"60.48%",
"63.84%",
"67.2%",
"71.4%",
"75.6%",
"79.8%"
"54%",
"57.6%",
"61.2%",
"64.8%",
"68.4%",
"72%",
"76.5%",
"81%",
"85.5%"
]
},
{
@ -406,8 +410,8 @@
"id": 9139,
"name": "如霰澄天的鸣礼",
"desc": [
"以刺玫会会长之令,召唤华丽的「金花礼炮」,猛烈击前方的敌人,造成岩元素范围伤害,并在接下来的一段时间内持续进行「支援炮击」,间歇性造成岩元素伤害。",
"「金花礼炮」的炮击命中敌人时将为娜维娅积攒1枚「裂晶弹片」此效果每2.4秒至多触发一次。",
"以刺玫会会长之令,召唤华丽的「金花礼炮」,猛烈击前方的敌人,造成岩元素范围伤害,并在接下来的一段时间内持续进行「支援炮击」,间歇性对附近的敌人造成岩元素伤害。",
"炮击命中敌人时将为娜维娅积攒1枚「裂晶弹片」此效果每2.4秒至多触发一次。",
"<i>「刺玫会的礼炮,会为了预先庆祝谈判成功而在谈判前稍稍开火,别误会,一点都没有威吓的意思哦。」</i>"
],
"tables": [
@ -416,21 +420,21 @@
"unit": "",
"isSame": false,
"values": [
"76%",
"81.7%",
"87.4%",
"95%",
"100.7%",
"106.4%",
"114%",
"121.6%",
"129.2%",
"136.8%",
"144.4%",
"152%",
"161.5%",
"171%",
"180.5%"
"75.2%",
"80.84%",
"86.48%",
"94%",
"99.64%",
"105.28%",
"112.8%",
"120.32%",
"127.84%",
"135.36%",
"142.88%",
"150.4%",
"159.8%",
"169.2%",
"178.6%"
]
},
{
@ -438,21 +442,21 @@
"unit": "",
"isSame": false,
"values": [
"48.4%",
"52.03%",
"55.66%",
"60.5%",
"64.13%",
"67.76%",
"72.6%",
"77.44%",
"82.28%",
"87.12%",
"91.96%",
"96.8%",
"102.85%",
"108.9%",
"114.95%"
"43.15%",
"46.39%",
"49.62%",
"53.94%",
"57.17%",
"60.41%",
"64.72%",
"69.04%",
"73.36%",
"77.67%",
"81.99%",
"86.3%",
"91.69%",
"97.09%",
"102.48%"
]
},
{
@ -834,74 +838,74 @@
},
"e": {
"玫瑰晶弹基础伤害": [
307.2,
330.24,
353.28,
384,
407.04,
430.08,
460.8,
491.52,
522.24,
552.96,
583.68,
614.4,
652.8,
691.2,
729.6
394.8,
424.41,
454.02,
493.5,
523.11,
552.72,
592.2,
631.68,
671.16,
710.64,
750.12,
789.6,
838.95,
888.3,
937.65
],
"流涌之刃伤害": [
33.6,
36.12,
38.64,
42,
44.52,
47.04,
36,
38.7,
41.4,
45,
47.7,
50.4,
53.76,
57.12,
60.48,
63.84,
67.2,
71.4,
75.6,
79.8
54,
57.6,
61.2,
64.8,
68.4,
72,
76.5,
81,
85.5
]
},
"q": {
"技能伤害": [
76,
81.7,
87.4,
95,
100.7,
106.4,
114,
121.6,
129.2,
136.8,
144.4,
152,
161.5,
171,
180.5
75.2,
80.84,
86.48,
94,
99.64,
105.28,
112.8,
120.32,
127.84,
135.36,
142.88,
150.4,
159.8,
169.2,
178.6
],
"支援炮击伤害": [
48.4,
52.03,
55.66,
60.5,
64.13,
67.76,
72.6,
77.44,
82.28,
87.12,
91.96,
96.8,
102.85,
108.9,
114.95
43.15,
46.39,
49.62,
53.94,
57.17,
60.41,
64.72,
69.04,
73.36,
77.67,
81.99,
86.3,
91.69,
97.09,
102.48
]
}
},
@ -909,13 +913,13 @@
"1": {
"name": "淑女的距离感守则",
"desc": [
"施放典仪式晶火时每消耗1枚「裂晶弹片」都将为娜维娅恢复2点元素能量并使如霰澄天的鸣礼的冷却时间减少1秒。至多通过这种方式恢复6点元素能量使「如霰澄天的鸣礼」的冷却时间减少3秒。"
"施放典仪式晶火时每消耗1枚「裂晶弹片」都将为娜维娅恢复3点元素能量并使如霰澄天的鸣礼的冷却时间减少1秒。至多通过这种方式恢复9点元素能量使「如霰澄天的鸣礼」的冷却时间减少3秒。"
]
},
"2": {
"name": "总指挥的乘胜追击",
"desc": [
"施放典仪式晶火时每消耗1枚「裂晶弹片」都将使本次典仪式晶火的暴击率提升8%至多通过这种方式使其暴击率提高24%。",
"施放典仪式晶火时每消耗1枚「裂晶弹片」都将使本次典仪式晶火的暴击率提升12%至多通过这种方式使其暴击率提高36%。",
"此外,典仪式晶火的射击命中敌人时,将在命中的敌人附近降下一次如霰澄天的鸣礼的「支援炮击」。每次施放典仪式晶火至多降下一次支援炮击,通过这种方式触发的支援炮击的伤害视为元素爆发伤害。"
]
},
@ -942,7 +946,7 @@
"6": {
"name": "刺玫会长的灵活手腕",
"desc": [
"施放典仪式晶火时若消耗的「裂晶弹片」超过3枚超过3枚的每枚「裂晶弹片」都将使本次典仪式晶火的暴击伤害提升35%且消耗的超过3枚的部分将在施放后返还。"
"施放典仪式晶火时若消耗的「裂晶弹片」超过3枚超过3枚的每枚「裂晶弹片」都将使本次典仪式晶火的暴击伤害提升45%且消耗的超过3枚的部分将在施放后返还。"
]
}
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 272 KiB

View File

@ -2126,25 +2126,25 @@
"star": 1
},
"奇械机芯齿轮": {
"id": "n112085",
"id": 112085,
"name": "奇械机芯齿轮",
"type": "normal",
"star": 3,
"items": {
"啮合齿轮": {
"id": "n112083",
"id": 112083,
"name": "啮合齿轮",
"type": "normal",
"star": 1
},
"机关正齿轮": {
"id": "n112084",
"id": 112084,
"name": "机关正齿轮",
"type": "normal",
"star": 2
},
"奇械机芯齿轮": {
"id": "n112085",
"id": 112085,
"name": "奇械机芯齿轮",
"type": "normal",
"star": 3

View File

@ -151,11 +151,16 @@ export default function (step, staticStep) {
mastery: step(48)
}
},
苇海信标: [staticStep('hpPct', 32), {
苇海信标: [{
title: '元素战技命中敌人并受伤害后提升攻击力[atkPct]%',
refine: {
atkPct: step(40)
}
}, {
title: '不处于护盾情况下提升生命值[hpPct]%',
refine: {
hpPct: step(32)
}
}],
浪影阔剑: {
title: '受到治疗时,攻击力提升[atkPct]%',

View File

@ -136,10 +136,9 @@
"star": 4
},
"12426": {
"id": "12426",
"id": 12426,
"name": "「究极霸王超级魔剑」",
"star": 4,
"wid": "n12426"
"star": 4
},
"12427": {
"id": 12427,
@ -177,9 +176,8 @@
"star": 5
},
"12512": {
"id": "12512",
"id": 12512,
"name": "裁断",
"star": 5,
"wid": "n12512"
"star": 5
}
}

View File

@ -1,9 +1,9 @@
{
"id": "12426",
"id": 12426,
"name": "「究极霸王超级魔剑」",
"affixTitle": "加油!",
"star": 4,
"desc": "攻击力提升12%。不仅如此海沫村中曾蒙你帮助的美露莘们的声援心意充满了力量依照她们的数目攻击力至多进一步提升12%。",
"desc": "统治海原的究极霸王才能使用的超级魔剑。因为使用了特殊的防水材料,就算浸在水中也不会泡坏,几乎能称得上是无敌!",
"attr": {
"atk": {
"1": 43.73,

View File

@ -1,9 +1,9 @@
{
"id": "12512",
"id": 12512,
"name": "裁断",
"affixTitle": "诸多朝与暮的誓约",
"star": 5,
"desc": "攻击力提升20%队伍中的角色获取结晶反应产生的晶片时会为装备者赋予1枚「约印」使元素战技造成的伤害提升18%约印持续15秒至多同时持有2枚。所有约印将在装备者的元素战技造成伤害后的0.2秒后移除。",
"desc": "曾经抛弃家名的贵族少女使用过的武器,过去沾染了敌人与挚爱的血液。",
"attr": {
"atk": {
"1": 47.54,

View File

@ -36,6 +36,7 @@ export const descFix = {
玛海菈的水色: '每10秒基于精通的$[0]提升攻击力并基于该提升的30%为其他角色提升攻击力持续12秒。处于后台时也能触发多件同名武器可叠加。',
雪葬的星银: '普攻与重击命中敌人时,有$[0]概率造成$[1]攻击力的范围伤害。若敌人处于冰元素影响下,则造成$[2]攻击力的伤害。每10秒至多一次。',
裁断: '攻击力提升$[0]获取结晶晶片时为装备者赋予1枚约印使下一个战技伤害提升$[1]约印持续15秒至多持有2枚。',
苇海信标:'战技命中敌人提升$[0]攻击力;受到伤害提升$[1]攻击力各持续8秒后台也能触发。无护盾时生命值上限提高$[2]。',
// 长柄武器
勘探钻机: '受到或进行治疗时获得标记最多3层处于后台也能获得。施放战技或爆发时消耗标记每枚标记提高$[0]攻击力与$[1]元素伤害加成。',