mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 17:35:34 +00:00
更新莱欧斯利伤害计算
This commit is contained in:
parent
e954051f66
commit
5e3995e082
@ -82,7 +82,7 @@ export const characters = {
|
|||||||
10000083: ['琳妮特', 'Lynette', '林妮特', '林尼特', '琳尼特', '女魔术师', '魔术猫', '魔术喵', '登登'],
|
10000083: ['琳妮特', 'Lynette', '林妮特', '林尼特', '琳尼特', '女魔术师', '魔术猫', '魔术喵', '登登'],
|
||||||
10000084: ['林尼', 'Lyney', '林妮', '琳尼', '琳妮', '男魔术师', '魔术师'],
|
10000084: ['林尼', 'Lyney', '林妮', '琳尼', '琳妮', '男魔术师', '魔术师'],
|
||||||
10000085: ['菲米尼', 'Freminet', '非米尼', '潜水员'],
|
10000085: ['菲米尼', 'Freminet', '非米尼', '潜水员'],
|
||||||
10000086: ['莱欧斯利', 'Wriothesley', '莱欧', '枫丹桑博'],
|
10000086: ['莱欧斯利', 'Wriothesley', '莱欧', '枫丹桑博', '欧拉欧拉', '来欧', '来欧斯利'],
|
||||||
10000087: ['那维莱特', 'Neuvillette', '那维', '水龙王', '水龙', '审判官', '海獭'],
|
10000087: ['那维莱特', 'Neuvillette', '那维', '水龙王', '水龙', '审判官', '海獭'],
|
||||||
10000088: ['夏洛蒂', 'Charlotte', '夏洛', '夏洛帝', '记者', '小记者'],
|
10000088: ['夏洛蒂', 'Charlotte', '夏洛', '夏洛帝', '记者', '小记者'],
|
||||||
10000089: ['芙宁娜', 'Furina', 'Focalors', '水神', '芙芙', '芙卡洛斯'],
|
10000089: ['芙宁娜', 'Furina', 'Focalors', '水神', '芙芙', '芙卡洛斯'],
|
||||||
|
@ -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: 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: 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 }
|
||||||
}
|
}
|
||||||
|
95
resources/meta/character/莱欧斯利/calc.js
Normal file
95
resources/meta/character/莱欧斯利/calc.js
Normal file
@ -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']
|
Loading…
Reference in New Issue
Block a user