miao-plugin/resources/meta-sr/character/白露/calc.js

25 lines
806 B
JavaScript
Raw Normal View History

export const details = [{
title: '普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: '战技主目标生命恢复',
dmg: ({ calc, attr, talent }, { heal }) => heal(calc(attr.hp) * talent.e['百分比生命'] + talent.e['固定值'])
}, {
title: '终结技生命恢复',
dmg: ({ calc, attr, talent }, { heal }) => heal(calc(attr.hp) * talent.q['百分比生命'] + talent.q['固定值'])
}, {
title: '天赋生息恢复',
dmg: ({ calc, attr, talent }, { heal }) => heal(calc(attr.hp) * talent.t['生息·百分比生命'] + talent.t['生息·固定值'])
}]
export const mainAttr = 'atk,cpct,cdmg,hp'
2023-09-20 15:35:39 +00:00
export const defDmgIdx = 2
export const buffs = [{
title: '白露2命释放终结技后治疗提高15%',
cons: 2,
data: {
heal: 15
}
}]