miao-plugin/resources/meta-gs/character/绮良良/calc.js
2023-10-25 03:34:36 +08:00

20 lines
616 B
JavaScript

export const details = [{
title: '秘法·惊喜特派伤害',
talent: 'q',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}, {
title: '护盾最大吸收量',
talent: 'e',
dmg: ({ talent, calc, attr }, { shield }) => shield(talent.e['护盾吸收量上限2'][0] * calc(attr.hp) / 100 + talent.e['护盾吸收量上限2'][1] * 1)
}]
export const mainAttr = 'atk,hp,cpct,cdmg'
export const buffs = [{
title: '绮良良被动:基于绮良良的生命上限,秘法·惊喜特派伤害提升[qDmg]%',
sort: 9,
data: {
qDmg: ({ attr, calc }) => calc(attr.hp) / 1000 * 0.3
}
}]