miao-plugin/resources/meta/character/诺艾尔/calc.js

35 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: '护心铠盾量',
dmg: ({ talent, calc, attr }, { shield }) =>
shield((talent.e['吸收量2'][0] * calc(attr.def) / 100 + talent.e['吸收量2'][1] * 1) * 1.5)
}, {
title: '护心铠单次治疗',
dmg: ({ talent, calc, attr }, { heal }) =>
heal(talent.e['治疗量2'][0] * calc(attr.def) / 100 + talent.e['治疗量2'][1] * 1)
}, {
title: '开Q尾刀',
dmg: ({ talent }, dmg) => dmg(talent.a['四段伤害'], 'a')
}, {
title: '开Q重击',
params: { q: true },
dmg: ({ talent }, dmg) => dmg(talent.a['重击循环伤害'], 'a2')
}]
export const defDmgIdx = 2
export const mainAttr = 'atk,def,cpct,cdmg'
export const buffs = [{
title: '元素爆发诺艾尔开Q基于防御力提高攻击力[atkPlus]',
sort: 9,
data: {
atkPlus: ({ attr, calc, talent }) => talent.q['攻击力提高'] * calc(attr.def) / 100
}
}, {
title: '诺艾尔6命诺艾尔开Q基于防御力提高攻击力[atkPlus]',
sort: 9,
cons: 6,
data: {
atkPlus: ({ attr, calc, talent }) => calc(attr.def) * 0.5
}
}]