miao-plugin/resources/meta-sr/character/杰帕德/calc.js
2023-05-23 03:19:45 +08:00

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
}
}]