miao-plugin/resources/meta/character/申鹤/calc.js
2022-08-31 03:36:40 +08:00

43 lines
1.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const details = [{
title: 'E基础伤害提升值',
dmg: ({ talent, calc, attr }) => {
return {
avg: talent.e['伤害值提升'] * calc(attr.atk) / 100
}
}
}, {
title: 'E点按技能伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['点按技能伤害'], 'e')
}, {
title: 'E长按技能伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['长按技能伤害'], 'e')
}, {
title: 'Q每跳伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['持续伤害'], 'q')
}]
export const buffs = [{
title: '申鹤被动Q范围内冰伤提高15%',
data: {
dmg: 15
}
}, {
title: '申鹤被动点按E提高15%元素战技及元素爆发伤害',
data: {
cpct: 10
}
}, {
title: '申鹤2命Q范围内暴击伤害提高15%',
cons: 2,
data: {
cdmg: 15
}
}, {
title: '申鹤天赋E提升冰伤害[ePlus]',
sort: 5,
data: {
ePlus: ({ talent, calc, attr }) => talent.e['伤害值提升'] * calc(attr.atk) / 100,
qPlus: ({ talent, calc, attr }) => talent.e['伤害值提升'] * calc(attr.atk) / 100,
}
}]