miao-plugin/resources/meta-gs/character/云堇/calc.js

27 lines
614 B
JavaScript
Raw Normal View History

2022-08-18 21:04:31 +00:00
export const details = [{
title: 'Q提供普攻基础伤害',
2024-04-30 12:10:36 +00:00
dmg: ({ talent, attr }) => {
2022-08-18 21:04:31 +00:00
return {
2024-04-30 12:10:36 +00:00
avg: (talent.q['伤害值提升'] / 100 + 0.115) * attr.def
2022-08-18 21:04:31 +00:00
}
}
}, {
title: '二段蓄力E伤害',
2024-04-30 12:10:36 +00:00
dmg: ({ talent, attr }, { basic }) => {
let ret = talent.e['二段蓄力伤害'] / 100 * attr.def
2022-08-18 21:04:31 +00:00
return basic(ret, 'e')
}
}]
export const mainAttr = 'atk,def,cpct,cdmg'
export const buffs = [{
title: '云堇被动队伍存在4元素类型角色时Q提供的普攻伤害提高[_q]',
sort: 9,
2022-08-18 21:04:31 +00:00
data: {
2024-04-30 12:10:36 +00:00
_q: ({ attr }) => {
return attr.def * 0.115
2022-08-18 21:04:31 +00:00
}
}
}]