miao-plugin/resources/meta/character/珐露珊/calc.js
Aluxes c19c731ce7
新增刃伤害计算及评分规则 (#613)
* 新增刃伤害计算及评分规则

* 更新神子 托马 珐露珊 白术 赛诺 银狼 伤害计算
2023-07-30 15:15:11 +08:00

40 lines
903 B
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: '开Q提供风系伤害',
dmg: ({ attr }) => {
return {
avg: (attr.atk.base || 0) * 0.32
}
}
}, {
title: 'E减抗后Q伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}, {
check: ({ cons }) => cons >= 6,
title: '开Q后E后台伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['风压坍陷风涡伤害'], 'e')
}, {
title: '开Q后飓烈箭伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['满蓄力瞄准射击'], 'a2')
}]
export const defDmgIdx = 1
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '珐露珊6命Q提升暴击伤害40%',
cons: 6,
data: {
cdmg: 40
}
}, {
title: '诡风之祸:降低敌人风抗[kx]%',
data: {
kx: 30
}
}, {
title: '祈风之赐:获得风伤加成[dmg]%',
data: {
dmg: ({ talent }) => talent.q['风元素伤害加成']
}
}]