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

33 lines
1.0 KiB
JavaScript
Raw Normal View History

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