From 5e3995e08278f2c0277152cbd6f44d114589b693 Mon Sep 17 00:00:00 2001 From: Aluxes <39981645+AshenAshes@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8E=B1=E6=AC=A7=E6=96=AF?= =?UTF-8?q?=E5=88=A9=E4=BC=A4=E5=AE=B3=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/system/character_system.js | 2 +- resources/meta/artifact/artis-mark.js | 3 +- resources/meta/character/莱欧斯利/calc.js | 95 +++++++++++++++++++ 3 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 resources/meta/character/莱欧斯利/calc.js diff --git a/config/system/character_system.js b/config/system/character_system.js index 9c761f7c..49196a3e 100644 --- a/config/system/character_system.js +++ b/config/system/character_system.js @@ -82,7 +82,7 @@ export const characters = { 10000083: ['琳妮特', 'Lynette', '林妮特', '林尼特', '琳尼特', '女魔术师', '魔术猫', '魔术喵', '登登'], 10000084: ['林尼', 'Lyney', '林妮', '琳尼', '琳妮', '男魔术师', '魔术师'], 10000085: ['菲米尼', 'Freminet', '非米尼', '潜水员'], - 10000086: ['莱欧斯利', 'Wriothesley', '莱欧', '枫丹桑博'], + 10000086: ['莱欧斯利', 'Wriothesley', '莱欧', '枫丹桑博', '欧拉欧拉', '来欧', '来欧斯利'], 10000087: ['那维莱特', 'Neuvillette', '那维', '水龙王', '水龙', '审判官', '海獭'], 10000088: ['夏洛蒂', 'Charlotte', '夏洛', '夏洛帝', '记者', '小记者'], 10000089: ['芙宁娜', 'Furina', 'Focalors', '水神', '芙芙', '芙卡洛斯'], diff --git a/resources/meta/artifact/artis-mark.js b/resources/meta/artifact/artis-mark.js index 937f710d..3fcf8cf7 100644 --- a/resources/meta/artifact/artis-mark.js +++ b/resources/meta/artifact/artis-mark.js @@ -74,5 +74,6 @@ export const usefulAttr = { 林尼: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 55, heal: 0 }, 琳妮特: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 0, recharge: 55, heal: 0 }, 菲米尼: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 0, dmg: 100, phy: 100, recharge: 55, heal: 0 }, - 那维莱特: { hp: 100, atk: 0, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 75, heal: 0 } + 那维莱特: { hp: 100, atk: 0, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 75, heal: 0 }, + 莱欧斯利: { hp: 0, atk: 75, def: 0, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, phy: 0, recharge: 55, heal: 0 } } diff --git a/resources/meta/character/莱欧斯利/calc.js b/resources/meta/character/莱欧斯利/calc.js new file mode 100644 index 00000000..898b91b3 --- /dev/null +++ b/resources/meta/character/莱欧斯利/calc.js @@ -0,0 +1,95 @@ +export const details = [{ + title: 'E后普攻首段', + dmg: ({ talent }, dmg) => dmg(talent.a['一段伤害'], 'a') +}, { + title: 'E后强化重击伤害', + dmg: ({ talent }, dmg) => dmg(talent.a['重击伤害'], 'a2') +}, { + title: 'E后强化重击融化伤害', + dmg: ({ talent }, dmg) => dmg(talent.a['重击伤害'], 'a2', 'melt') +}, { + title: 'Q总伤害', + dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q') +}, { + title: 'Q融化总伤害', + dmg: ({ talent }, dmg) => { + const td = talent.q['技能伤害2'][0] + let normalDmg = dmg(td, 'q') + let meltDmg = dmg(td, 'q', 'melt') + return { + dmg: normalDmg.dmg * 3 + meltDmg.dmg * 2, + avg: normalDmg.avg * 3 + meltDmg.avg * 2 + } + } +}, { + title: '一轮普攻5A接重击', + dmg: ({ talent, cons }, dmg) => { + let a1Dmg = dmg(talent.a['一段伤害'], 'a') + let a2Dmg = dmg(talent.a['二段伤害'], 'a') + let a3Dmg = dmg(talent.a['三段伤害'], 'a') + let a4Dmg = dmg(talent.a['四段伤害'], 'a') + let a5Dmg = dmg(talent.a['五段伤害'], 'a') + let azDmg = dmg(talent.a['重击伤害'], 'a2') + let azCount = cons < 6 ? 1 : 2 + return { + dmg: a1Dmg.dmg + a2Dmg.dmg + a3Dmg.dmg + a4Dmg.dmg + a5Dmg.dmg + azDmg.dmg * azCount, + avg: a1Dmg.avg + a2Dmg.avg + a3Dmg.avg + a4Dmg.avg + a5Dmg.avg + azDmg.avg * azCount + } + } +}, { + title: '一轮普攻5A接重击(融化)', + dmg: ({ talent, cons }, dmg) => { + let a1Dmg = dmg(talent.a['一段伤害'], 'a', 'melt') + let a2Dmg = dmg(talent.a['二段伤害'], 'a') + let a3Dmg = dmg(talent.a['三段伤害'], 'a') + let a41Dmg = dmg(talent.a['四段伤害2'][0], 'a', 'melt') + let a42Dmg = dmg(talent.a['四段伤害2'][0], 'a') + let a5Dmg = dmg(talent.a['五段伤害'], 'a') + let azDmg = dmg(talent.a['重击伤害'], 'a2', 'melt') + let azMeltCount = cons < 6 ? 1 : 2 + return { + dmg: a1Dmg.dmg + a2Dmg.dmg + a3Dmg.dmg + a41Dmg.dmg + a42Dmg.dmg + a5Dmg.dmg + azDmg.dmg * azMeltCount, + avg: a1Dmg.avg + a2Dmg.avg + a3Dmg.avg + a41Dmg.avg + a42Dmg.avg + a5Dmg.avg + azDmg.avg * azMeltCount + } + } +}] + +export const defDmgIdx = 6 +export const mainAttr = 'atk,cpct,cdmg,mastery' + +export const buffs = [{ + title: '冰牙突驰:强化普攻,使其造成的伤害提升至[_aMulti]%', + data: { + _aMulti: ({ talent }) => talent.e['强化斥逐拳伤害'], + aMulti: ({ talent }) => talent.e['强化斥逐拳伤害'] - 100 + } +}, { + title: '天赋-公理终有辩诉之日:重击造成的伤害提升[a2Dmg]%', + data: { + a2Dmg: 50 + } +}, { + title: '天赋-罪业终有报偿之时:生命变动时获得1层Buff,5层Buff使得攻击力提升[atkPct]%', + data: { + atkPct: 30 + } +}, { + title: '莱欧1命:重击造成的伤害额外提升[a2Dmg]%', + cons: 1, + data: { + a2Dmg: 150 + } +}, { + title: '莱欧2命:5层Buff使得Q造成的伤害提升[qDmg]%', + cons: 2, + data: { + qDmg: 200 + } +}, { + title: '莱欧6命:重击的暴击率提升[a2Cpct]%,暴击伤害提升[a2Cdmg]%,并能够额外造成一次伤害', + cons: 6, + data: { + a2Cpct: 10, + a2Cdmg: 80 + } +}, 'melt']