miao-plugin/resources/meta/character/多莉/calc.js
2022-09-27 03:47:52 +08:00

26 lines
704 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}) => {
console.log(talent.q)
return heal(talent.q['持续治疗量2'][0] * calc(attr.hp) / 100 + talent.q['持续治疗量2'][1] * 1)
}
}]
export const mainAttr = 'atk,hp,cpct,cdmg'
export const buffs = [{
title: '多莉1命断除烦恼炮命中后增加一枚炮弹',
cons: 1
}, {
title: '多莉4命角色生命值低于50%时获得50%治疗加成',
cons: 4,
data: {
healInc: 50
}
}]