diff --git a/CHANGELOG.md b/CHANGELOG.md index 78a7f9e9..978c0b65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 2.2.2 + +* 为`#喵喵设置`增加更多配置项 + * 允许禁用面板替换功能 + * 允许禁用非实装角色资料,关闭可禁用非实装角色资料及面板替换 + * 可选择面板服务,可选喵喵Api优先(需具备Token)或Enka优先 +* 更新迪希雅、米卡的最新天赋与命座数据 +* 全量使用通过属性计算得到的面板数据,移除相关配置项 + # 2.2.1 * 增加瑶瑶伤害计算 diff --git a/apps/admin.js b/apps/admin.js index 2c938279..c77bac84 100644 --- a/apps/admin.js +++ b/apps/admin.js @@ -2,7 +2,6 @@ import fs from 'fs' import lodash from 'lodash' import { exec } from 'child_process' import { Cfg, Common, Data, App } from '../components/index.js' -import { MysApi } from '../models/index.js' let keys = lodash.map(Cfg.getCfgSchemaMap(), (i) => i.key) let app = App.init({ diff --git a/apps/profile.js b/apps/profile.js index 49452373..05c1e067 100644 --- a/apps/profile.js +++ b/apps/profile.js @@ -1,4 +1,4 @@ -import { Common, App, Data } from '../components/index.js' +import { Common, App, Data, Cfg } from '../components/index.js' import { Character } from '../models/index.js' import { getTargetUid, getProfile, profileHelp } from './profile/ProfileCommon.js' import { profileArtis, profileArtisList } from './profile/ProfileArtis.js' @@ -125,6 +125,10 @@ export async function profileDetail (e) { let changeMsg = msg let pc = ProfileChange.matchMsg(msg) if (pc && pc.char && pc.change) { + if (!Cfg.get('profileChange')) { + e.reply('面板替换功能已禁用...') + return true + } e.uid = pc.uid || e.runtime.uid profileChange = ProfileChange.getProfile(e.uid, pc.char, pc.change) if (profileChange && profileChange.char) { @@ -183,9 +187,14 @@ export async function profileDetail (e) { e.reply('自定义角色暂不支持此功能') return true } - if (!char.isRelease && !profileChange) { - e.reply('角色尚未实装') - return true + if (!char.isRelease) { + if (!profileChange) { + e.reply('角色尚未实装') + return true + } else if (Cfg.get('notReleasedData') === false) { + e.reply('未实装角色面板已禁用...') + return true + } } if (mode === 'profile' || mode === 'dmg') { diff --git a/apps/profile/ProfileDetail.js b/apps/profile/ProfileDetail.js index 7ed792fc..dfeb1061 100644 --- a/apps/profile/ProfileDetail.js +++ b/apps/profile/ProfileDetail.js @@ -97,10 +97,10 @@ export async function renderProfile (e, char, mode = 'profile', params = {}) { let artisKeyTitle = ProfileArtis.getArtisKeyTitle() let imgs = char.getImgs(profile.costume) // 渲染图像 - let msgRes = await Common.render('character/profile-detail', { + let msgRes = await Common.render('character/profile-detail', { save_id: uid, uid, - data: avatar.getData('name,abbr,cons,level,weapon,talent,dataSource,updateTime,_attrCalc'), + data: avatar.getData('name,abbr,cons,level,weapon,talent,dataSource,updateTime'), attr, elem: char.elem, dmgData, diff --git a/apps/wiki.js b/apps/wiki.js index cdf9ddb3..f3ae3115 100644 --- a/apps/wiki.js +++ b/apps/wiki.js @@ -81,6 +81,10 @@ async function wiki (e) { e.reply('暂不支持自定义角色') return true } + if (!char.isRelease && Cfg.get('notReleasedData') === false) { + e.reply('未实装角色资料已禁用...') + return true + } let lvs = [] for (let i = 1; i <= 15; i++) { lvs.push('Lv' + i) diff --git a/components/Cfg.js b/components/Cfg.js index 3a66fdb6..ea4394ca 100644 --- a/components/Cfg.js +++ b/components/Cfg.js @@ -7,15 +7,8 @@ const _cfgPath = `${_path}/plugins/miao-plugin/components/` let cfg = {} try { - if (fs.existsSync(_cfgPath + 'cfg.json')) { - cfg = await cfgData.loadOldData() - cfgData.saveCfg(cfg) - fs.unlinkSync(_cfgPath + 'cfg.json') - } else { - cfg = await cfgData.getCfg() - cfgData.saveCfg(cfg) - } cfg = await cfgData.getCfg() + cfgData.saveCfg(cfg) } catch (e) { // do nth } diff --git a/components/cfg-lib/cfg-data.js b/components/cfg-lib/cfg-data.js index d7d759ca..856732a4 100644 --- a/components/cfg-lib/cfg-data.js +++ b/components/cfg-lib/cfg-data.js @@ -4,23 +4,6 @@ import { Data } from '../index.js' import fs from 'node:fs' let cfgData = { - async loadOldData () { - const _path = process.cwd() - const _cfgPath = `${_path}/plugins/miao-plugin/components/` - if (!fs.existsSync(_cfgPath + 'cfg.json')) { - return false - } - let old = Data.readJSON('/components/cfg.json') - let cfg = await Data.importModule('/config/cfg.js') - let ret = {} - lodash.forEach(cfgSchema, (cfgGroup) => { - lodash.forEach(cfgGroup.cfg, (cfgItem, cfgKey) => { - ret[cfgKey] = Data.def(cfg[cfgKey], cfgItem.oldCfgKey ? Data.getVal(old, cfgItem.oldCfgKey) : undefined, cfgItem.def) - }) - }) - return ret - }, - saveCfg (cfg) { let ret = [] lodash.forEach(cfgSchema, (cfgGroup) => { @@ -38,7 +21,13 @@ let cfgData = { }, async getCfg () { - return lodash.toPlainObject(await Data.importModule('/config/cfg.js')) + let ret = lodash.toPlainObject(await Data.importModule('/config/cfg.js')) + lodash.forEach(cfgSchema, (cfgGroup) => { + lodash.forEach(cfgGroup.cfg, (cfgItem, cfgKey) => { + ret[cfgKey] = Data.def(ret[cfgKey], cfgItem.def) + }) + }) + return ret }, getCfgSchemaMap () { diff --git a/config/cfg_default.js b/config/cfg_default.js deleted file mode 100644 index 8e0e0de9..00000000 --- a/config/cfg_default.js +++ /dev/null @@ -1,50 +0,0 @@ -/** ************ 【玩家&老婆卡片展示】 ************* */ -// 使用喵喵版角色卡片作为默认角色卡片功能 -export const avatarCard = true - -// 面板查询 -export const avatarProfile = true - -// 群面板排名 -export const groupRank = false - -// 可选值5~30,建议15。设置高排名人数会提高图片的长度,图片较大可能会影响渲染与发送速度 -export const rankNumber = 15 - -// 可选值4~100,建议28,最终圣遗物数量取决于面板内圣遗物数量。设置高圣遗物数量会提高图片的长度,图片较大可能会影响渲染与发送速度 -export const artisNumber = 28 - -// 使用【#上传深渊】功能取代【#深渊】功能,默认关闭 -export const uploadAbyssData = false - -// 使用【#面板练度统计】功能取代【#练度统计】功能,默认关闭 -export const profileStat = false - -// 老婆查询 -export const avatarWife = true - -// 戳一戳卡片 -export const avatarPoke = true - -// 数字分组 -export const commaGroup = 3 - -/** ************ 【角色资料与信息查询】 ************* */ -// #刻晴图鉴 的图鉴信息 -export const charWiki = true - -// #刻晴天赋/#刻晴命座 的天赋信息 -export const charWikiTalent = true - -// 角色图片 -export const charPic = true - -// 启用后会启用角色图及增量包中的小清新图像,勇士啊,你准备好了吗 -export const charPicSe = false - -/** ************ 【系统设置】 ************* */ -// 可选值50~200,建议100。设置高精度会提高图片的精细度,但因图片较大可能会影响渲染与发送速度 -export const renderScale = 100 - -// 开启后将使用喵喵版帮助作为Yunzai的默认帮助 -export const help = false diff --git a/config/system/cfg_system.js b/config/system/cfg_system.js index f8ca6a0b..6f86f3cc 100644 --- a/config/system/cfg_system.js +++ b/config/system/cfg_system.js @@ -1,20 +1,22 @@ export const cfgSchema = { - char: { - title: '玩家&老婆卡片展示', + profile: { + title: '角色面板相关设置', cfg: { - avatarCard: { - title: '角色查询', - key: '角色', - def: true, - desc: '使用喵喵版角色卡片作为默认角色卡片功能', - showDesc: false, - oldCfgKey: 'char.char' - }, avatarProfile: { title: '面板查询', - key: '面板', - def: true, - oldCfgKey: 'char.profile' + key: '面板查询', + def: true + }, + profileChange: { + title: '面板替换', + key: '面板替换', + def: true + }, + profileStat: { + title: '面板练度统计', + key: '练度统计', + def: false, + desc: '使用【#面板练度统计】功能取代【#练度统计】功能,默认关闭' }, groupRank: { title: '群面板排名', @@ -22,12 +24,6 @@ export const cfgSchema = { def: false, desc: '群内的面板伤害及圣遗物排名与查看功能,默认关闭。请根据群友心理素质自行决定是否开启' }, - teamCalc: { - title: '组队伤害', - key: '组队', - def: false, - desc: '组队伤害,测试阶段。开启后请重启喵喵' - }, groupRankLimit: { title: '排名限制', key: '限制', @@ -43,6 +39,20 @@ export const cfgSchema = { input: (n) => Math.min(30, Math.max(5, (n * 1 || 15))), desc: '可选值5~30,建议15。设置高排名人数会提高图片的长度,图片较大可能会影响渲染与发送速度' }, + profileServ: { + title: '面板服务', + key: '面板服务', + type: 'num', + def: 2, + input: (n) => n * 1 === 1 ? 1 : 2, + desc: '面板服务优先选择:1:自动(具备有效Token时优先喵喵Api,否则Enka),2:Enka服务优先' + }, + teamCalc: { + title: '组队加成伤害', + key: '组队', + def: false, + desc: '伤害计算包含组队Buff。目前为测试阶段,数据可能不准确,请慎重开启。数据为固定Buff而非真实面板数据,最终计算数值可能有偏差。开启后请重启喵喵' + }, artisNumber: { title: '圣遗物列表数量', key: '圣遗物数量', @@ -50,32 +60,34 @@ export const cfgSchema = { def: 28, input: (n) => Math.min(100, Math.max(4, (n * 1 || 28))), desc: '可选值4~100,建议28,最终圣遗物数量取决于面板内圣遗物数量。设置高圣遗物数量会提高图片的长度,图片较大可能会影响渲染与发送速度' + } + } + }, + char: { + title: '玩家&老婆卡片展示', + cfg: { + avatarCard: { + title: '角色查询', + key: '角色', + def: true, + desc: '使用喵喵版角色卡片作为默认角色卡片功能', + showDesc: false }, uploadAbyssData: { title: '上传深渊', key: '深渊', def: false, - oldCfgKey: 'wiki.abyss', desc: '使用【#上传深渊】功能取代【#深渊】功能,默认关闭' }, - profileStat: { - title: '面板练度统计', - key: '练度统计', - def: false, - oldCfgKey: 'profile.stat', - desc: '使用【#面板练度统计】功能取代【#练度统计】功能,默认关闭' - }, avatarWife: { title: '老婆查询', key: '老婆', - def: true, - oldCfgKey: 'char.wife' + def: true }, avatarPoke: { title: '戳一戳卡片', key: '戳一戳', - def: true, - oldCfgKey: 'char.poke' + def: true } } }, @@ -93,21 +105,23 @@ export const cfgSchema = { title: '角色图鉴-天赋', key: '天赋', def: true, - oldCfgKey: 'wiki.wiki', showDesc: false, desc: '#刻晴天赋/#刻晴命座 的天赋信息' }, + notReleasedData: { + title: '未实装角色数据', + key: '未实装', + def: true + }, charPic: { title: '角色图片', key: '图片', - def: true, - oldCfgKey: 'wiki.pic' + def: true }, charPicSe: { title: '小清新角色图', key: '小清新', def: false, - oldCfgKey: 'char.se', desc: '启用后会启用角色图及增量包中的小清新图像,勇士啊,你准备好了吗' } } @@ -121,14 +135,12 @@ export const cfgSchema = { type: 'num', def: 100, input: (n) => Math.min(200, Math.max(50, (n * 1 || 100))), - oldCfgKey: 'sys.scale', desc: '可选值50~200,建议100。设置高精度会提高图片的精细度,但因图片较大可能会影响渲染与发送速度' }, help: { title: '喵喵作为默认帮助', key: '帮助', def: false, - oldCfgKey: 'sys.help', desc: '开启后将使用喵喵版帮助作为Yunzai的默认帮助,默认关闭' }, commaGroup: { @@ -137,12 +149,6 @@ export const cfgSchema = { def: 3, type: 'num', desc: '根据语言习惯设置数字分组,如千位组设为3,万位组设为4' - }, - attrCalc: { - title: '面板计算属性', - key: '计算', - def: false, - desc: '使用基于武器&圣遗物计算的面板属性取代服务读取的面板数据,可规避双水buff等导致的一些面板数据错误。开启后部分角色属性可能会轻微变化,请根据需求开启关闭' } } } diff --git a/config/system/profile_system.js b/config/system/profile_system.js index a9f712c0..9ec801ad 100644 --- a/config/system/profile_system.js +++ b/config/system/profile_system.js @@ -3,16 +3,6 @@ * 如需自定义配置请复制修改上一级profile_default.js * */ -export const getProfileServ = ({ uid, serv, diyCfg }) => { - let { Miao, Enka } = serv - let token = diyCfg?.miaoApi?.token - let qq = diyCfg?.miaoApi?.qq - if (qq && token && token.length === 32 && !/^test/.test(token)) { - return Miao - } - return Enka -} - export const miaoApi = { listApi: ({ uid, diyCfg }) => { let qq = /\d{5,12}/.test(diyCfg.qq) ? diyCfg.qq : 'none' diff --git a/models/ProfileData.js b/models/ProfileData.js index 04a534d1..f086f849 100644 --- a/models/ProfileData.js +++ b/models/ProfileData.js @@ -1,7 +1,7 @@ import lodash from 'lodash' import Base from './Base.js' import moment from 'moment' -import { Data, Cfg } from '../components/index.js' +import { Data } from '../components/index.js' import { Character, ProfileArtis, ProfileDmg } from './index.js' import AttrCalc from './profile-lib/AttrCalc.js' @@ -21,7 +21,7 @@ export default class ProfileData extends Base { ds.talent && this.setTalent(ds.talent) this.artis = new ProfileArtis(this.id, this.elem) ds.artis && this.setArtis(ds.artis) - if (attrCalc && Cfg.get('attrCalc') && this.hasData) { + if (attrCalc && this.hasData) { this.calcAttr() } } @@ -37,7 +37,6 @@ export default class ProfileData extends Base { calcAttr () { this._attr = AttrCalc.create(this) this.attr = this._attr.calc() - this._attrCalc = true } setBasic (ds = {}) { diff --git a/models/ProfileServ.js b/models/ProfileServ.js index 6b492c06..18631c9a 100644 --- a/models/ProfileServ.js +++ b/models/ProfileServ.js @@ -1,6 +1,6 @@ import lodash from 'lodash' import Base from './Base.js' -import { Data } from '../components/index.js' +import { Data, Cfg } from '../components/index.js' let { sysCfg, diyCfg } = await Data.importCfg('profile') @@ -85,5 +85,12 @@ export default class ProfileServ extends Base { } ProfileServ.getServ = function ({ uid, serv }) { - return (diyCfg.getProfileServ || sysCfg.getProfileServ)({ uid, serv, diyCfg }) + let { Miao, Enka } = serv + let token = diyCfg?.miaoApi?.token + let qq = diyCfg?.miaoApi?.qq + + if (qq && token && token.length === 32 && !/^test/.test(token) && Cfg.get('profileServ') === 1) { + return Miao + } + return Enka } diff --git a/resources/admin/index.css b/resources/admin/index.css index edf01540..4098b4cc 100644 --- a/resources/admin/index.css +++ b/resources/admin/index.css @@ -1,11 +1,11 @@ body { transform: scale(1); - width: 700px; + width: 660px; } .container { background: url("./imgs/bg.png") #000144 left top no-repeat; background-size: 700px auto; - width: 700px; + width: 660px; } .head-box { margin: 0 0 80px 0; diff --git a/resources/admin/index.less b/resources/admin/index.less index 856e2bab..5c7acf74 100644 --- a/resources/admin/index.less +++ b/resources/admin/index.less @@ -1,12 +1,12 @@ body { transform: scale(1); - width: 700px; + width: 660px; } .container { background: url("./imgs/bg.png") #000144 left top no-repeat; background-size: 700px auto; - width:700px; + width:660px; } .head-box { diff --git a/resources/character/profile-detail.html b/resources/character/profile-detail.html index 426f467e..869524bb 100644 --- a/resources/character/profile-detail.html +++ b/resources/character/profile-detail.html @@ -56,7 +56,7 @@
{{if data.dataSource}} - {{if data._attrCalc}}[启用计算] ·{{/if}} 数据源:{{ {miao:"喵喵Api",enka:"Enka.Network",change:"面板变换"}[data.dataSource]||data.dataSource }} + 数据源:{{ {miao:"喵喵Api",enka:"Enka.Network",change:"面板变换"}[data.dataSource]||data.dataSource }} {{/if}} {{if data.updateTime}} {{data.updateTime}} diff --git a/resources/meta/character/米卡/data.json b/resources/meta/character/米卡/data.json index a7351896..c22c1b69 100644 --- a/resources/meta/character/米卡/data.json +++ b/resources/meta/character/米卡/data.json @@ -5,19 +5,19 @@ "title": "晴霜的标绘", "star": 4, "elem": "cryo", - "allegiance": "???", + "allegiance": "西风骑士团", "weapon": "polearm", - "birth": "1-1", + "birth": "8-11", "astro": "林鸽座", - "desc": "测试角色", + "desc": "平凡家庭出身的年轻骑士,在小队中担任「前进测绘员」一职。为人低调,谨小慎微。", "cncv": "???", "jpcv": "???", "costume": false, "ver": 1, "baseAttr": { "hp": 12506, - "atk": 169.92, - "def": 593.79 + "atk": 223.02, + "def": 713.23 }, "growAttr": { "key": "hpPct", diff --git a/resources/meta/character/米卡/detail.json b/resources/meta/character/米卡/detail.json index f09b835a..77948533 100644 --- a/resources/meta/character/米卡/detail.json +++ b/resources/meta/character/米卡/detail.json @@ -232,21 +232,21 @@ "unit": "", "isSame": false, "values": [ - "51.84%", - "55.73%", - "59.62%", - "64.8%", - "68.69%", - "72.58%", - "77.76%", - "82.94%", - "88.13%", - "93.31%", - "98.5%", - "103.68%", - "110.16%", - "116.64%", - "123.12%" + "67.2%", + "72.24%", + "77.28%", + "84%", + "89.04%", + "94.08%", + "100.8%", + "107.52%", + "114.24%", + "120.96%", + "127.68%", + "134.4%", + "142.8%", + "151.2%", + "159.6%" ] }, { @@ -254,21 +254,21 @@ "unit": "", "isSame": false, "values": [ - "64.8%", - "69.66%", - "74.52%", - "81%", - "85.86%", - "90.72%", - "97.2%", - "103.68%", - "110.16%", - "116.64%", - "123.12%", - "129.6%", - "137.7%", - "145.8%", - "153.9%" + "84%", + "90.3%", + "96.6%", + "105%", + "111.3%", + "117.6%", + "126%", + "134.4%", + "142.8%", + "151.2%", + "159.6%", + "168%", + "178.5%", + "189%", + "199.5%" ] }, { @@ -276,21 +276,21 @@ "unit": "", "isSame": false, "values": [ - "19.44%", - "20.9%", - "22.36%", - "24.3%", - "25.76%", - "27.22%", - "29.16%", - "31.1%", - "33.05%", - "34.99%", - "36.94%", - "38.88%", - "41.31%", - "43.74%", - "46.17%" + "25.2%", + "27.09%", + "28.98%", + "31.5%", + "33.39%", + "35.28%", + "37.8%", + "40.32%", + "42.84%", + "45.36%", + "47.88%", + "50.4%", + "53.55%", + "56.7%", + "59.85%" ] }, { @@ -817,55 +817,55 @@ }, "e": { "霜流矢伤害": [ - 51.84, - 55.73, - 59.62, - 64.8, - 68.69, - 72.58, - 77.76, - 82.94, - 88.13, - 93.31, - 98.5, - 103.68, - 110.16, - 116.64, - 123.12 + 67.2, + 72.24, + 77.28, + 84, + 89.04, + 94.08, + 100.8, + 107.52, + 114.24, + 120.96, + 127.68, + 134.4, + 142.8, + 151.2, + 159.6 ], "冰星信标伤害": [ - 64.8, - 69.66, - 74.52, - 81, - 85.86, - 90.72, - 97.2, - 103.68, - 110.16, - 116.64, - 123.12, - 129.6, - 137.7, - 145.8, - 153.9 + 84, + 90.3, + 96.6, + 105, + 111.3, + 117.6, + 126, + 134.4, + 142.8, + 151.2, + 159.6, + 168, + 178.5, + 189, + 199.5 ], "冰星破片伤害": [ - 19.44, - 20.9, - 22.36, - 24.3, - 25.76, - 27.22, - 29.16, - 31.1, - 33.05, - 34.99, - 36.94, - 38.88, - 41.31, - 43.74, - 46.17 + 25.2, + 27.09, + 28.98, + 31.5, + 33.39, + 35.28, + 37.8, + 40.32, + 42.84, + 45.36, + 47.88, + 50.4, + 53.55, + 56.7, + 59.85 ], "攻击速度提升": [ 13, @@ -1123,86 +1123,86 @@ "details": { "1": [ 1049, - 14.25, - 49.79, + 18.7, + 59.8, 0 ], "20": [ 2694, - 36.6, - 127.9, + 48.04, + 153.63, 0 ], "40": [ 5208, - 70.76, - 247.29, + 92.88, + 297.03, 0 ], "50": [ 6631, - 90.09, - 314.84, + 118.25, + 378.17, 6 ], "60": [ 8239, - 111.94, - 391.2, + 146.93, + 469.88, 12 ], "70": [ 9661, - 131.26, - 458.7, + 172.28, + 550.96, 12 ], "80": [ 11083, - 150.59, - 526.24, + 197.65, + 632.1, 18 ], "90": [ 12506, - 169.92, - 593.79, + 223.02, + 713.23, 24 ], "20+": [ 3477, - 47.24, - 165.09, + 62.01, + 198.3, 0 ], "40+": [ 5765, - 78.33, - 273.71, + 102.8, + 328.77, 6 ], "50+": [ 7373, - 100.18, - 350.07, + 131.48, + 420.49, 12 ], "60+": [ 8796, - 119.51, - 417.62, + 156.85, + 501.63, 12 ], "70+": [ 10217, - 138.82, - 485.12, + 182.2, + 582.7, 18 ], "80+": [ 11640, - 158.15, - 552.67, + 207.57, + 663.84, 24 ] } diff --git a/resources/meta/character/迪希雅/data.json b/resources/meta/character/迪希雅/data.json index 8c2228ad..2dde3263 100644 --- a/resources/meta/character/迪希雅/data.json +++ b/resources/meta/character/迪希雅/data.json @@ -5,11 +5,11 @@ "title": "炽鬃之狮", "star": 5, "elem": "pyro", - "allegiance": "???", + "allegiance": "镀金旅团", "weapon": "claymore", - "birth": "1-1", + "birth": "4-7", "astro": "蝎尾鬃狮座", - "desc": "测试角色", + "desc": "横行须弥沙漠的佣兵组织「镀金旅团」的成员,勇敢而又强大的战士,在「镀金旅团」内部声名赫赫。", "cncv": "???", "jpcv": "???", "costume": false, diff --git a/resources/meta/character/迪希雅/detail.json b/resources/meta/character/迪希雅/detail.json index 05f2b06e..0d8366b9 100644 --- a/resources/meta/character/迪希雅/detail.json +++ b/resources/meta/character/迪希雅/detail.json @@ -251,7 +251,7 @@ "通过这种方式重新产生的净焰剑狱领域将继承原本的持续时间。", "在1次净焰剑狱领域的持续时间内,只能施展1次剑域炽焰。", "

净焰剑狱

", - "领域中的敌人受到伤害时,净焰剑狱将进行协同攻击,对其造成火元素范围伤害。该效果每2.5秒至多触发一次。", + "领域中的敌人受到伤害时,净焰剑狱将进行协同攻击,基于迪希雅的攻击力与生命值上限,对其造成火元素范围伤害。该效果每2.5秒至多触发一次。", "提升领域中当前场上角色的抗打断能力,并在这些角色受到伤害时,消解部分伤害,将其转入「赤鬃之血」,由迪希雅在10秒内承担。赤鬃之血储存的伤害值达到或超过迪希雅生命值上限的一定比例时,将不再消解伤害。", "同时只能存在1个由迪希雅自己创造的净焰剑狱。", "一同度过这赤焰之试,烧却不洁吧,就如炽光之兽必自焚灼中降临那样。" @@ -303,24 +303,24 @@ }, { "name": "领域伤害", - "unit": "", + "unit": "生命值上限", "isSame": false, "values": [ - "68.8%", - "73.96%", - "79.12%", - "86%", - "91.16%", - "96.32%", - "103.2%", - "110.08%", - "116.96%", - "123.84%", - "130.72%", - "137.6%", - "146.2%", - "154.8%", - "163.4%" + "60.2%攻击力 + 1.03%", + "64.71%攻击力 + 1.11%", + "69.23%攻击力 + 1.19%", + "75.25%攻击力 + 1.29%", + "79.76%攻击力 + 1.37%", + "84.28%攻击力 + 1.44%", + "90.3%攻击力 + 1.55%", + "96.32%攻击力 + 1.65%", + "102.34%攻击力 + 1.75%", + "108.36%攻击力 + 1.86%", + "114.38%攻击力 + 1.96%", + "120.4%攻击力 + 2.06%", + "127.93%攻击力 + 2.19%", + "135.45%攻击力 + 2.32%", + "142.97%攻击力 + 2.45%" ] }, { @@ -418,7 +418,7 @@ "name": "炎啸狮子咬", "desc": [ "释放炙热的怒火,放弃不便的大剑,进入「炽炎狮子」状态,提升抗打断能力。", - "在这种状态下,迪希雅将自动连续挥舞炽鬃拳,造成火元素伤害,并在持续时间结束时,进行焚落踢,造成火元素范围伤害。", + "在这种状态下,迪希雅将自动连续挥舞炽鬃拳,基于攻击力与生命值上限造成火元素伤害,并在持续时间结束时,进行焚落踢,基于攻击力与生命值上限造成火元素范围伤害。", "施放时,如果场上存在迪希雅自己的元素战技「熔铁流狱」的「净焰剑狱」领域,迪希雅会将其收回,并在炽炎狮子状态结束时在新的位置重新产生,重新产生时将继承被收回时的持续时间。", "在这种状态下,迪希雅无法施放元素战技,无法进行普通攻击、重击与下落攻击。「普通攻击·拂金剑斗术」与元素战技「熔铁流狱」将被替换为「炎咆连打」。", "

炎咆连打

", @@ -428,46 +428,46 @@ "tables": [ { "name": "炽鬃拳伤害", - "unit": "", + "unit": "生命值上限", "isSame": false, "values": [ - "112.8%", - "121.26%", - "129.72%", - "141%", - "149.46%", - "157.92%", - "169.2%", - "180.48%", - "191.76%", - "203.04%", - "214.32%", - "225.6%", - "239.7%", - "253.8%", - "267.9%" + "98.7%攻击力 + 1.69%", + "106.1%攻击力 + 1.82%", + "113.51%攻击力 + 1.95%", + "123.37%攻击力 + 2.12%", + "130.78%攻击力 + 2.24%", + "138.18%攻击力 + 2.37%", + "148.05%攻击力 + 2.54%", + "157.92%攻击力 + 2.71%", + "167.79%攻击力 + 2.88%", + "177.66%攻击力 + 3.05%", + "187.53%攻击力 + 3.21%", + "197.4%攻击力 + 3.38%", + "209.74%攻击力 + 3.6%", + "222.08%攻击力 + 3.81%", + "234.41%攻击力 + 4.02%" ] }, { "name": "焚落踢伤害", - "unit": "", + "unit": "生命值上限", "isSame": false, "values": [ - "159.2%", - "171.14%", - "183.08%", - "199%", - "210.94%", - "222.88%", - "238.8%", - "254.72%", - "270.64%", - "286.56%", - "302.48%", - "318.4%", - "338.3%", - "358.2%", - "378.1%" + "139.3%攻击力 + 2.39%", + "149.75%攻击力 + 2.57%", + "160.2%攻击力 + 2.75%", + "174.13%攻击力 + 2.99%", + "184.57%攻击力 + 3.16%", + "195.02%攻击力 + 3.34%", + "208.95%攻击力 + 3.58%", + "222.88%攻击力 + 3.82%", + "236.81%攻击力 + 4.06%", + "250.74%攻击力 + 4.3%", + "264.67%攻击力 + 4.54%", + "278.6%攻击力 + 4.78%", + "296.01%攻击力 + 5.07%", + "313.42%攻击力 + 5.37%", + "330.84%攻击力 + 5.67%" ] }, { @@ -821,21 +821,83 @@ 315.4 ], "领域伤害": [ - 68.8, - 73.96, - 79.12, - 86, - 91.16, - 96.32, - 103.2, - 110.08, - 116.96, - 123.84, - 130.72, - 137.6, - 146.2, - 154.8, - 163.4 + 61.230000000000004, + 65.82, + 70.42, + 76.54, + 81.13000000000001, + 85.72, + 91.85, + 97.97, + 104.09, + 110.22, + 116.33999999999999, + 122.46000000000001, + 130.12, + 137.76999999999998, + 145.42 + ], + "领域伤害2": [ + [ + 60.2, + 1.03 + ], + [ + 64.71, + 1.11 + ], + [ + 69.23, + 1.19 + ], + [ + 75.25, + 1.29 + ], + [ + 79.76, + 1.37 + ], + [ + 84.28, + 1.44 + ], + [ + 90.3, + 1.55 + ], + [ + 96.32, + 1.65 + ], + [ + 102.34, + 1.75 + ], + [ + 108.36, + 1.86 + ], + [ + 114.38, + 1.96 + ], + [ + 120.4, + 2.06 + ], + [ + 127.93, + 2.19 + ], + [ + 135.45, + 2.32 + ], + [ + 142.97, + 2.45 + ] ], "消解减免": [ 32, @@ -874,38 +936,162 @@ }, "q": { "炽鬃拳伤害": [ - 112.8, - 121.26, - 129.72, - 141, - 149.46, - 157.92, - 169.2, - 180.48, - 191.76, - 203.04, - 214.32, - 225.6, - 239.7, - 253.8, - 267.9 + 100.39, + 107.91999999999999, + 115.46000000000001, + 125.49000000000001, + 133.02, + 140.55, + 150.59, + 160.63, + 170.67, + 180.71, + 190.74, + 200.78, + 213.34, + 225.89000000000001, + 238.43 + ], + "炽鬃拳伤害2": [ + [ + 98.7, + 1.69 + ], + [ + 106.1, + 1.82 + ], + [ + 113.51, + 1.95 + ], + [ + 123.37, + 2.12 + ], + [ + 130.78, + 2.24 + ], + [ + 138.18, + 2.37 + ], + [ + 148.05, + 2.54 + ], + [ + 157.92, + 2.71 + ], + [ + 167.79, + 2.88 + ], + [ + 177.66, + 3.05 + ], + [ + 187.53, + 3.21 + ], + [ + 197.4, + 3.38 + ], + [ + 209.74, + 3.6 + ], + [ + 222.08, + 3.81 + ], + [ + 234.41, + 4.02 + ] ], "焚落踢伤害": [ - 159.2, - 171.14, - 183.08, - 199, - 210.94, - 222.88, - 238.8, - 254.72, - 270.64, - 286.56, - 302.48, - 318.4, - 338.3, - 358.2, - 378.1 + 141.69, + 152.32, + 162.95, + 177.12, + 187.73, + 198.36, + 212.53, + 226.7, + 240.87, + 255.04000000000002, + 269.21000000000004, + 283.38, + 301.08, + 318.79, + 336.51 + ], + "焚落踢伤害2": [ + [ + 139.3, + 2.39 + ], + [ + 149.75, + 2.57 + ], + [ + 160.2, + 2.75 + ], + [ + 174.13, + 2.99 + ], + [ + 184.57, + 3.16 + ], + [ + 195.02, + 3.34 + ], + [ + 208.95, + 3.58 + ], + [ + 222.88, + 3.82 + ], + [ + 236.81, + 4.06 + ], + [ + 250.74, + 4.3 + ], + [ + 264.67, + 4.54 + ], + [ + 278.6, + 4.78 + ], + [ + 296.01, + 5.07 + ], + [ + 313.42, + 5.37 + ], + [ + 330.84, + 5.67 + ] ] } }, @@ -921,7 +1107,7 @@ "2": { "name": "净沙利刃明映万乘", "desc": [ - "施放熔铁流狱·剑域炽焰时,重新产生的净焰剑狱领域持续时间将延长4秒。", + "施放熔铁流狱·剑域炽焰时,重新产生的净焰剑狱领域持续时间将延长6秒。", "此外,场上存在净焰剑狱领域时,领域内的当前场上角色受到攻击时,将使净焰剑狱下次协同攻击造成的伤害提升50%。" ] }, @@ -941,7 +1127,7 @@ "5": { "name": "猎兽魁首卓荦不羁", "desc": [ - "熔铁流狱的技能等级提高3级。", + "

熔铁流狱的技能等级提高3级。

", "至多提升至15级。" ] }, @@ -965,7 +1151,7 @@ "name": "不吝佑助", "desc": [ "迪希雅通过熔铁流狱·剑域炽焰或炎啸狮子咬回收净焰剑狱后的6秒内,迪希雅承担来自赤鬃之血的伤害时,受到的伤害降低60%。该效果每2秒至多触发一次。", - "此外,净焰剑狱在产生后的4秒内,能为其中的角色提供额外的抗打断能力。该效果每8秒至多触发一次。" + "此外,迪希雅施放熔铁流狱·净焰昂藏后的9秒内,将为队伍中所有角色赋予「熔金铸躯」状态。处于熔金铸躯状态下的角色处于净焰剑狱领域中时,将获得额外的抗打断能力。每18秒至多产生一次熔金铸躯状态。" ] }, { diff --git a/tools/char-data.js b/tools/char-data.js index 871bd963..822d711b 100644 --- a/tools/char-data.js +++ b/tools/char-data.js @@ -275,4 +275,4 @@ let eta = { 迪希雅: '2023-03-01', 米卡: '2023-03-01' } -await down('丽莎', true) +await down('迪希雅,米卡', true)