From 96e67938c64ecb1c92267afabe56583625a460ee Mon Sep 17 00:00:00 2001 From: liangshi <1142607614@qq.com> Date: Fri, 24 May 2024 21:08:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=8B=E6=B4=9B=E7=90=B3=E5=BE=B7=E7=BB=84?= =?UTF-8?q?=E9=98=9F=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../meta-gs/character/克洛琳德/calc.js | 20 ++-- .../character/克洛琳德/calc_auto.js | 104 ++++++++++++++++++ .../克洛琳德/新建 文本文档.txt | 56 ---------- 3 files changed, 117 insertions(+), 63 deletions(-) create mode 100644 resources/meta-gs/character/克洛琳德/calc_auto.js delete mode 100644 resources/meta-gs/character/克洛琳德/新建 文本文档.txt diff --git a/resources/meta-gs/character/克洛琳德/calc.js b/resources/meta-gs/character/克洛琳德/calc.js index f55b27e0..d3176cb7 100644 --- a/resources/meta-gs/character/克洛琳德/calc.js +++ b/resources/meta-gs/character/克洛琳德/calc.js @@ -1,27 +1,33 @@ export const details = [{ title: 'E后普通攻击', - dmg: ({ talent, attr, cons }, dmg) => dmg(talent.e['驰猎伤害2'][0], 'a') + dmg: ({ talent }, dmg) => dmg(talent.e['驰猎伤害2'][0], 'a') }, { title: 'E后穿透射击', params: { blPct: 0.5 }, - dmg: ({ talent, attr, cons }, dmg) => dmg(talent.e['驰猎伤害2'][1], 'a') + dmg: ({ talent }, dmg) => dmg(talent.e['驰猎伤害2'][1], 'a') }, { title: 'E剑击伤害', params: { blPct: 0 }, - dmg: ({ talent, attr }, dmg) => dmg(talent.e['贯夜伤害2'][0], 'a') + dmg: ({ talent }, dmg) => dmg(talent.e['贯夜伤害2'][0], 'a') }, { title: 'E强化剑击伤害', params: { blPct: 0.5 }, - dmg: ({ talent, attr }, dmg) => dmg(talent.e['贯夜伤害2'][1], 'a') + dmg: ({ talent }, dmg) => dmg(talent.e['贯夜伤害2'][1], 'a') }, { title: 'E贯夜·契令伤害', - dmg: ({ talent, attr }, dmg) => dmg(talent.e['贯夜伤害2'][2], 'a') + dmg: ({ talent }, dmg) => dmg(talent.e['贯夜伤害2'][2], 'a') }, { title: 'Q单段伤害', - dmg: ({ talent, attr }, dmg) => dmg(talent.q['技能伤害2'][0], 'q') + dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害2'][0], 'q') }, { title: 'Q完整伤害', - dmg: ({ talent, attr }, dmg) => dmg(talent.q['技能伤害2'][0], 'q') + dmg: ({ talent }, dmg) => { + let q1 = dmg(talent.q['技能伤害2'][0], 'q') + return { + dmg: q1.dmg * 5, + avg: q1.avg * 5 + } + } }] export const defParams = ({ weapon }) => weapon.name === '海渊终曲' ? { BondOfLife: 35 * 3 + 25, blPct: 1 } : { BondOfLife: 35 * 3, blPct: 1 }// 生命之契在此调整,请勿超过200,默认生命之契未计入队友治疗转化 diff --git a/resources/meta-gs/character/克洛琳德/calc_auto.js b/resources/meta-gs/character/克洛琳德/calc_auto.js new file mode 100644 index 00000000..7898c9cd --- /dev/null +++ b/resources/meta-gs/character/克洛琳德/calc_auto.js @@ -0,0 +1,104 @@ +export const details = [{ + title: 'E后穿透射击', + params: { blPct: 0.5 }, + dmg: ({ talent }, dmg) => dmg(talent.e['驰猎伤害2'][1], 'a') +}, { + title: 'E后穿透射击激化', + params: { blPct: 0.5 }, + dmg: ({ talent }, dmg) => dmg(talent.e['驰猎伤害2'][1], 'a', 'aggravate') +}, { + title: 'E贯夜·契令伤害', + dmg: ({ talent }, dmg) => dmg(talent.e['贯夜伤害2'][2], 'a') +}, { + title: 'E贯夜·契令激化', + dmg: ({ talent }, dmg) => dmg(talent.e['贯夜伤害2'][2], 'a', 'aggravate') +}, { + title: 'Q完整伤害', + dmg: ({ talent }, dmg) => { + let q1 = dmg(talent.q['技能伤害2'][0], 'q') + return { + dmg: q1.dmg * 5, + avg: q1.avg * 5 + } + } +}, { + title: '克皇 AAAE一轮激化', + params: { team: true, blPct: 0.5 }, + dmg: ({ talent }, dmg) => { + let a1 = dmg(talent.e['驰猎伤害2'][1], 'a') + let a2 = dmg(talent.e['驰猎伤害2'][1], 'a', 'aggravate') + let e1 = dmg(talent.e['贯夜伤害2'][2], 'a', 'aggravate') + return { + dmg: a1.dmg * 2 + a2.dmg + e1.dmg, + avg: a1.avg * 2 + a2.avg + e1.avg + } + } +}, { + title: '克皇 Q完整激化', + params: { team: true }, + dmg: ({ talent }, dmg) => { + let q1 = dmg(talent.q['技能伤害2'][0], 'q') + let q2 = dmg(talent.q['技能伤害2'][0], 'q', 'aggravate') + return { + dmg: q1.dmg * 3 + q2.dmg * 2, + avg: q1.avg * 3 + q2.avg * 2 + } + } +}] + +export const defParams = ({ weapon }) => weapon.name === '海渊终曲' ? { BondOfLife: 35 * 3 + 25, blPct: 1 } : { BondOfLife: 35 * 3, blPct: 1 }// 生命之契在此调整,请勿超过200,默认生命之契未计入队友治疗转化 +export const defDmgIdx = 4 +export const mainAttr = 'atk,cpct,cdmg,mastery,dmg' + +export const buffs = [{ + title: '克洛琳德天赋:触发雷元素反应普通攻击与残光将终造成的伤害提升[aPlus]', + data: { + aPlus: ({ attr, cons }) => Math.min((attr.atk * (cons >= 2 ? 30 : 20) / 100 * 3), (cons >= 2 ? 2700 : 1800)), + qPlus: ({ attr, cons }) => Math.min((attr.atk * (cons >= 2 ? 30 : 20) / 100 * 3), (cons >= 2 ? 2700 : 1800)) + } +}, { + title: '克洛琳德天赋:生命之契的数值提升或降低时,暴击率提升[cpct]% ', + data: { + cpct: 10 * 2 + } +}, { + title: '克洛琳德4命:[buffCount]%最大生命值的生命之契使残光将终造成的伤害提升[qDmg]', + cons: 4, + data: { + buffCount: ({ talent, params, weapon }) => Math.min(params.blPct * (talent.q['赋予生命之契'] + params.BondOfLife), 200), + qDmg: ({ talent, params, weapon }) => Math.min((params.blPct * (talent.q['赋予生命之契'] + params.BondOfLife) * 2), 200) + } +}, { + title: '克洛琳德6命:施放狩夜之巡后暴击率提高[cpct]%,暴击伤害提高[cdmg]%', + cons: 6, + data: { + cpct: 10, + cdmg: 70 + } +}, { + check: ({ cons, params }) => (cons >= 2 && params.team === true), + title: '千夜2命纳西妲:增加精通[mastery],减防[enemyDef]%', + data: { + mastery: 40, + enemyDef: 30 + } +}, { + check: ({ cons, params }) => (cons < 2 && params.team === true), + title: '千夜0命纳西妲:增加精通[mastery]', + data: { + mastery: 40 + } +}, { + check: ({ params }) => params.team === true, + sort: 7, + title: '纳西妲-净善摄受明论:Q范围内在场角色增加精通[mastery]', + data: { + mastery: 250 + } +}, { + check: ({ params }) => params.team === true, + title: '钟离:降低敌人[kx]%全抗', + data: { + kx: 20 + } +}] \ No newline at end of file diff --git a/resources/meta-gs/character/克洛琳德/新建 文本文档.txt b/resources/meta-gs/character/克洛琳德/新建 文本文档.txt deleted file mode 100644 index 55c3109e..00000000 --- a/resources/meta-gs/character/克洛琳德/新建 文本文档.txt +++ /dev/null @@ -1,56 +0,0 @@ -export const details = [{ - title: 'E后普通攻击', - dmg: ({ talent, attr, cons }, dmg) => dmg(talent.e['驰猎伤害2'][0], 'a') -}, { - title: 'E后穿透射击', - params: { blPct: 0.5 }, - dmg: ({ talent, attr, cons }, dmg) => dmg(talent.e['驰猎伤害2'][1], 'a') -}, { - title: 'E剑击伤害', - params: { blPct: 0 }, - dmg: ({ talent, attr }, dmg) => dmg(talent.e['贯夜伤害2'][0], 'a') -}, { - title: 'E强化剑击伤害', - params: { blPct: 0.5 }, - dmg: ({ talent, attr }, dmg) => dmg(talent.e['贯夜伤害2'][1], 'a') -}, { - title: 'E贯夜·契令伤害', - dmg: ({ talent, attr }, dmg) => dmg(talent.e['贯夜伤害2'][2], 'a') -}, { - title: 'Q单段伤害', - dmg: ({ talent, attr }, dmg) => dmg(talent.q['技能伤害2'][0], 'q') -}, { - title: 'Q完整伤害', - dmg: ({ talent, attr }, dmg) => dmg(talent.q['技能伤害2'][0], 'q') -}] - -export const defParams = ({ weapon }) => weapon.name === '海渊终曲' ? { BondOfLife: 35 * 3 + 25, blPct: 1 } : { BondOfLife: 35 * 3, blPct: 1 }// 生命之契在此调整,请勿超过200,默认生命之契未计入队友治疗转化 -export const defDmgIdx = 4 -export const mainAttr = 'atk,cpct,cdmg,mastery,dmg' - -export const buffs = [{ - title: '克洛琳德天赋:触发雷元素反应普通攻击与残光将终造成的伤害提升[aPlus]', - data: { - aPlus: ({ attr, cons }) => Math.min((attr.atk * (cons >= 2 ? 30 : 20) / 100 * 3), (cons >= 2 ? 2700 : 1800)), - qPlus: ({ attr, cons }) => Math.min((attr.atk * (cons >= 2 ? 30 : 20) / 100 * 3), (cons >= 2 ? 2700 : 1800)) - } -}, { - title: '克洛琳德天赋:生命之契的数值提升或降低时,暴击率提升[cpct]% ', - data: { - cpct: 10 * 2 - } -}, { - title: '克洛琳德4命:[buffCount]%最大生命值的生命之契使残光将终造成的伤害提升[qDmg]', - cons: 4, - data: { - buffCount: ({ talent, params, weapon }) => Math.min(params.blPct * (talent.q['赋予生命之契'] + params.BondOfLife), 200), - qDmg: ({ talent, params, weapon }) => Math.min((params.blPct * (talent.q['赋予生命之契'] + params.BondOfLife) * 2), 200) - } -}, { - title: '克洛琳德6命:施放狩夜之巡后暴击率提高[cpct]%,暴击伤害提高[cdmg]%', - cons: 6, - data: { - cpct: 10, - cdmg: 70 - } -}] \ No newline at end of file