miao-plugin/resources/meta-sr/character/景元/calc.js

44 lines
1.0 KiB
JavaScript
Raw Normal View History

2023-05-23 19:30:30 +00:00
export const details = [{
title: 'A普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: 'E战技伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: 'Q终结技伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}, {
title: '10层神君单体伤害',
dmg: ({ talent }, dmg) => dmg(talent.t['技能伤害'] * 10, 'a3')
}]
export const mainAttr = 'atk,cpct,cdmg,speed'
export const buffs = [{
title: '景元2命神君行动后普攻战技及终结技的伤害提高20%',
cons: 2,
data: {
aDmg: 20,
eDmg: 20,
qDmg: 20
}
}, {
title: '景元6命神君会使目标陷入易伤状态使伤害提高12%最多3层',
cons: 6,
data: {
a3Dmg: (12 + 12 * 2 + 12 * 3 * 7) / 10
}
}, {
title: '行迹-破阵攻击段数大于等于6段则其下回合的暴击伤害提高25%',
tree: 1,
data: {
a3Cdmg: 25
}
}, {
title: '行迹-遣将施放战技后暴击率提升10%',
tree: 3,
data: {
cpct: 10
}
}]