miao-plugin/resources/meta/character/北斗/calc.js
2022-08-19 05:04:31 +08:00

22 lines
578 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: '2层E伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['基础伤害'] + talent.e['受击时伤害提升'] * 2, 'e')
}, {
title: 'Q每跳伤害',
params: { q: true },
dmg: ({ talent }, dmg) => dmg(talent.q['闪雷伤害'], 'q')
}]
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '北斗6命Q持续期间周围敌人的雷元素抗性降低15%',
cons: 6,
data: {
kx: ({ params }) => params.q ? 15 : 0
}
}]