miao-plugin/resources/meta/character/刻晴/calc.js

47 lines
1.2 KiB
JavaScript
Raw Normal View History

export const details = [{
title: 'E后重击伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['重击伤害'], 'a2')
}, {
title: 'Q单段伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['连斩伤害2'][0], 'q')
}, {
title: 'Q总伤害',
params: { q: 1 },
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'] + talent.q['连斩伤害'] + talent.q['最后一击伤害'], 'q')
2022-11-16 18:39:20 +00:00
}, {
title: 'Q总伤害·超激化',
params: { q: 1 },
dmg: ({ talent }, dmg) => {
let t1j = dmg(talent.q['技能伤害'], 'q', '超激化')
let t2j = dmg(talent.q['连斩伤害'] / 8, 'q', '超激化')
let t2 = dmg(talent.q['连斩伤害'] / 8, 'q')
let t3j = dmg(talent.q['最后一击伤害'], 'q', '超激化')
return {
dmg: t1j.dmg + t2j.dmg * 2 + t2.dmg * 6 + t3j.dmg,
avg: t1j.avg + t2j.avg * 2 + t2.avg * 6 + t3j.avg
}
}
}]
2022-11-16 18:39:20 +00:00
export const defDmgIdx = 3
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
2022-08-18 21:04:31 +00:00
title: '刻晴被动释放Q获得15%暴击率',
data: {
qCpct: 15
}
}, {
title: '刻晴4命触发雷元素相关反应提升攻击力25%',
cons: 4,
data: {
atkPct: 25
}
}, {
title: '刻晴6命4层获得24%雷伤加成',
2022-05-05 11:33:12 +00:00
cons: 6,
data: {
dmg: 24
}
}]