mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-24 17:19:25 +00:00
27 lines
614 B
JavaScript
27 lines
614 B
JavaScript
export const details = [{
|
||
title: 'Q提供普攻基础伤害',
|
||
dmg: ({ talent, attr }) => {
|
||
return {
|
||
avg: (talent.q['伤害值提升'] / 100 + 0.115) * attr.def
|
||
}
|
||
}
|
||
}, {
|
||
title: '二段蓄力E伤害',
|
||
dmg: ({ talent, attr }, { basic }) => {
|
||
let ret = talent.e['二段蓄力伤害'] / 100 * attr.def
|
||
return basic(ret, 'e')
|
||
}
|
||
}]
|
||
|
||
export const mainAttr = 'atk,def,cpct,cdmg'
|
||
|
||
export const buffs = [{
|
||
title: '云堇被动:队伍存在4元素类型角色时,Q提供的普攻伤害提高[_q]',
|
||
sort: 9,
|
||
data: {
|
||
_q: ({ attr }) => {
|
||
return attr.def * 0.115
|
||
}
|
||
}
|
||
}]
|