mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 23:51:39 +00:00
35 lines
1.0 KiB
JavaScript
35 lines
1.0 KiB
JavaScript
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
|
||
}
|
||
}]
|