miao-plugin/resources/meta-sr/character/藿藿/calc.js
2023-11-17 23:24:13 +08:00

19 lines
798 B
JavaScript

export const details = [{
title: '普攻伤害',
dmg: ({ talent, attr }, { basic }) => basic(talent.a['技能伤害'] * attr.hp, 'a')
}, {
title: '战技生命回复·主目标',
dmg: ({ talent, attr }, { heal }) => heal(attr.hp * talent.e['目标治疗·百分比生命'] + talent.e['目标治疗·固定值'])
}, {
title: '战技生命回复·相邻目标',
dmg: ({ talent, attr }, { heal }) => heal(attr.hp * talent.e['相邻目标治疗·百分比生命'] + talent.e['相邻目标治疗·固定值'])
}, {
title: '天赋禳命生命回复',
dmg: ({ talent, attr }, { heal }) => heal(attr.hp * talent.t['治疗·百分比生命'] + talent.t['治疗·百分比生命'])
}]
export const mainAttr = 'hp,cpct,cdmg,heal'
export const defDmgIdx = 1
export const createdBy = 'Aluxes'