miao-plugin/resources/meta/character/砂糖/calc.js
yoimiya-kokomi 18faeae290 伤害计算增加砂糖、辛焱
`#雷神面板`展示数据API及更新时间
2022-08-21 07:40:32 +08:00

29 lines
766 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: 'E伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: 'Q每跳基础伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['持续伤害'], 'q')
}, {
title: '为队友提升精通',
dmg: ({ calc, attr }) => {
return {
avg: calc(attr.mastery) * 0.2 + 50 + (attr.mastery.inc || 0)
}
}
}, {
title: '扩散反应伤害',
dmg: ({}, { ks }) => ks()
}]
export const mainAttr = 'atk,cpct,cdmg,mastery'
export const buffs = [{
title: '砂糖被动触发扩散反应时队伍提升50精通'
}, {
title: '砂糖被动释放QE命中敌人时基于自身精通提升队伍[_mastery]精通',
data: {
_mastery: ({ attr, calc }) => calc(attr.mastery) * 0.2
}
}, 'ks']