mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-23 08:00:57 +00:00
41 lines
903 B
JavaScript
41 lines
903 B
JavaScript
import { Format } from '#miao'
|
||
|
||
export const details = [{
|
||
title: '普攻伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
|
||
}, {
|
||
title: 'E-Buff加伤',
|
||
dmg: ({ talent }) => {
|
||
return {
|
||
avg: Format.percent(talent.e['伤害提高']),
|
||
type: 'text'
|
||
}
|
||
}
|
||
}, {
|
||
title: 'Q-Buff攻击力提高',
|
||
dmg: ({ talent }) => {
|
||
return {
|
||
avg: Format.percent(talent.q['攻击力提高']),
|
||
type: 'text'
|
||
}
|
||
}
|
||
}, {
|
||
title: 'Q-Buff爆伤提高',
|
||
dmg: ({ attr, calc, talent }) => {
|
||
return {
|
||
avg: Format.percent(calc(attr.cdmg) * talent.q['百分比暴伤'] / 100 + talent.q['固定暴伤']),
|
||
type: 'text'
|
||
}
|
||
}
|
||
}]
|
||
|
||
export const mainAttr = 'atk,cpct,cdmg'
|
||
|
||
export const buffs = [{
|
||
title: '行迹-军势:布洛妮娅在场时,我方全体造成的伤害提高10%',
|
||
check: ({ trees }) => trees[103],
|
||
data: {
|
||
dmg: 10
|
||
}
|
||
}]
|