mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-30 02:44:06 +00:00
24 lines
705 B
JavaScript
24 lines
705 B
JavaScript
export const details = [{
|
|
title: '普攻伤害',
|
|
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
|
|
}, {
|
|
title: '战技伤害',
|
|
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
|
|
}, {
|
|
title: 'Q护盾量',
|
|
dmg: ({ attr, calc, talent }, { shield }) => shield(calc(attr.def) * talent.q['百分比防御力'] + talent.q['固定数值'])
|
|
}, {
|
|
title: '秘技护盾量',
|
|
dmg: ({ attr, calc, talent }, { shield }) => shield(calc(attr.def) * 0.24 + 150)
|
|
}]
|
|
|
|
export const mainAttr = 'atk,cpct,cdmg,def'
|
|
|
|
export const buffs = [{
|
|
title: '行迹-战意:基于防御值提高攻击力[atkPlus]',
|
|
tree: 3,
|
|
data: {
|
|
atkPlus: ({ calc, attr }) => calc(attr.def) * 0.35
|
|
}
|
|
}]
|