miao-plugin/resources/meta-sr/character/希儿/calc.js

45 lines
996 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 }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: '战技伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: '终结技伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}]
export const defDmgIdx = 2
export const mainAttr = 'atk,cpct,cdmg,speed'
export const buffs = [{
title: '希儿天赋:击杀敌人增幅状态提高伤害[dmg]%',
data: {
dmg: ({ talent }) => talent.t['伤害提高'] * 100
}
}, {
title: '希儿战技释放战技后速度提高25%',
maxCons: 1,
data: {
speedPct: 25
}
}, {
title: '希儿1命对生命小于80%的敌人造成伤害时暴击率提高15%',
cons: 1,
data: {
cpct: 15
}
}, {
title: '希儿2命释放战技后2层Buff速度提高50%',
cons: 2,
data: {
speedPct: 50
}
}, {
title: '行迹-夜行抗性穿透提高20%',
tree: 2,
data: {
kx: 20
}
}]