miao-plugin/resources/meta/character/多莉/calc.js

24 lines
688 B
JavaScript
Raw Normal View History

2022-09-26 19:47:52 +00:00
export const details = [{
title: '断除烦恼炮总伤害',
dmg: ({ talent, cons }, dmg) => dmg(talent.e['断除烦恼炮伤害'] + talent.e['售后服务弹伤害'] * (cons >= 1 ? 3 : 2), 'e')
}, {
title: 'Q每跳恢复生命',
dmg: ({ talent, calc, attr }, {
heal
2022-09-27 02:25:31 +00:00
}) => heal(talent.q['持续治疗量2'][0] * calc(attr.hp) / 100 + talent.q['持续治疗量2'][1] * 1)
2022-09-26 19:47:52 +00:00
}]
export const defDmgIdx = 1
2022-09-26 19:47:52 +00:00
export const mainAttr = 'atk,hp,cpct,cdmg'
export const buffs = [{
title: '多莉1命断除烦恼炮命中后增加一枚炮弹',
cons: 1
}, {
title: '多莉4命角色生命值低于50%时获得50%治疗加成',
cons: 4,
data: {
healInc: 50
}
}]