miao-plugin/resources/meta-gs/character/宵宫/calc.js

35 lines
971 B
JavaScript
Raw Normal View History

export const details = [{
2022-08-07 18:26:25 +00:00
title: '开E后首段普攻',
params: { num: 1 },
dmg: ({ talent }, dmg) => dmg(talent.a['一段伤害'], 'a')
}, {
2022-08-07 18:26:25 +00:00
title: '开E满Buff普攻尾箭',
params: { num: 10 },
dmg: ({ talent }, dmg) => dmg(talent.a['五段伤害'], 'a')
}, {
2022-08-07 18:26:25 +00:00
title: '开E满Buff尾箭蒸发',
params: { num: 10 },
dmg: ({ talent }, dmg) => dmg(talent.a['五段伤害'], 'a', 'vaporize')
2022-08-07 18:26:25 +00:00
}]
export const defDmgIdx = 2
2022-08-07 18:26:25 +00:00
export const mainAttr = 'atk,cpct,cdmg,mastery'
export const buffs = [{
2022-08-07 18:26:25 +00:00
title: '焰硝庭火舞开启E后额外提升普通[aMulti]%伤害',
data: {
2022-08-07 18:26:25 +00:00
aMulti: ({ talent }) => talent.e['炽焰箭伤害'] - 100
}
}, {
2022-08-07 18:26:25 +00:00
title: '宵宫被动袖火百景图10层提高20%火伤加成',
data: {
dmg: ({ params }) => params.num ? params.num * 2 : 20
}
}, {
2022-08-07 18:26:25 +00:00
title: '宵宫2命宵宫造成暴击后获得25%火伤加成',
cons: 2,
data: {
dmg: ({ params }) => params.num > 1 ? 25 : 0
}
}, 'vaporize']