mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-24 17:19:25 +00:00
70 lines
1.5 KiB
JavaScript
70 lines
1.5 KiB
JavaScript
import { Format } from '#miao'
|
||
|
||
export const details = [{
|
||
title: '普攻伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
|
||
}, {
|
||
title: '战技提升攻击力',
|
||
dmg: ({ talent }) => {
|
||
return {
|
||
avg: Format.percent(talent.e['攻击力提高']),
|
||
type: 'text'
|
||
}
|
||
}
|
||
}, {
|
||
title: '终结技提升暴击率',
|
||
dmg: ({ talent }) => {
|
||
return {
|
||
avg: Format.percent(talent.q['暴击率提高']),
|
||
type: 'text'
|
||
}
|
||
}
|
||
}, {
|
||
title: '终结技提升暴击伤害',
|
||
dmg: ({ talent }) => {
|
||
return {
|
||
avg: Format.percent(talent.q['暴击伤害提高']),
|
||
type: 'text'
|
||
}
|
||
}
|
||
}, {
|
||
title: '终结技伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
|
||
}]
|
||
|
||
export const mainAttr = 'atk,cpct,cdmg'
|
||
export const defDmgIdx = 2
|
||
|
||
export const buffs = [{
|
||
title: '战技-天阙鸣弦:攻击力提高[atkPct]%',
|
||
data: {
|
||
atkPct: ({ talent }) => talent.e['攻击力提高'] * 100
|
||
}
|
||
}, {
|
||
title: '终结技-贯云饮羽:暴击率提高[cpct]%,暴击伤害提高[cdmg]%',
|
||
data: {
|
||
cpct: ({ talent }) => talent.q['暴击率提高'] * 100,
|
||
cdmg: ({ talent }) => talent.q['暴击伤害提高'] * 100
|
||
}
|
||
}, {
|
||
title: '行迹-迟彝:造成虚数伤害提高[dmg]%',
|
||
tree: 1,
|
||
data: {
|
||
dmg: 12
|
||
}
|
||
}, {
|
||
title: '驭空1命:速度提高[speedPct]%',
|
||
cons: 1,
|
||
data: {
|
||
speedPct: 10
|
||
}
|
||
}, {
|
||
title: '驭空4命:造成伤害提高[dmg]%',
|
||
cons: 4,
|
||
data: {
|
||
dmg: 30
|
||
}
|
||
}]
|
||
|
||
export const createdBy = 'Aluxes'
|