mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-23 08:00:57 +00:00
29 lines
777 B
JavaScript
29 lines
777 B
JavaScript
export const details = [{
|
||
title: 'E伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
|
||
}, {
|
||
title: 'Q每跳基础伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['持续伤害'], 'q')
|
||
}, {
|
||
title: '为队友提升精通',
|
||
dmg: ({ calc, attr }) => {
|
||
return {
|
||
avg: calc(attr.mastery) * 0.2 + 50 + (attr.mastery.inc || 0)
|
||
}
|
||
}
|
||
}, {
|
||
title: '扩散反应伤害',
|
||
dmg: ({}, { reaction }) => reaction('swirl')
|
||
}]
|
||
|
||
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
||
|
||
export const buffs = [{
|
||
title: '砂糖被动:触发扩散反应时,队伍提升50精通'
|
||
}, {
|
||
title: '砂糖被动:释放QE命中敌人时,基于自身精通提升队伍[mastery]精通',
|
||
data: {
|
||
mastery: ({ attr, calc }) => calc(attr.mastery) * 0.2
|
||
}
|
||
}]
|