mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 17:35:34 +00:00
43 lines
1.1 KiB
JavaScript
43 lines
1.1 KiB
JavaScript
export const details = [{
|
||
title: '短按E伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['初始爆风伤害'], 'e')
|
||
}, {
|
||
title: '长按E总伤害',
|
||
dmg: ({ talent }, dmg) => {
|
||
const td = talent.e['初始切割伤害'] * 2 + talent.e['最大切割伤害'] * 4 + talent.e['最大爆风伤害']
|
||
return dmg(td, 'e')
|
||
}
|
||
}, {
|
||
title: 'Q每段伤害',
|
||
params: { q: true },
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['龙卷风伤害'], 'q')
|
||
}, {
|
||
title: 'Q转化元素每段伤害',
|
||
params: { q: true },
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['附加元素伤害'], 'q', 'phy')
|
||
}, {
|
||
title: '扩散反应伤害',
|
||
dmg: ({}, { reaction }) => reaction('swirl')
|
||
}]
|
||
|
||
export const defDmgIdx = 1
|
||
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
||
|
||
export const buffs = [{
|
||
title: '风主2命:元素充能效率提高[recharge]%',
|
||
cons: 2,
|
||
data: {
|
||
recharge: 16
|
||
}
|
||
}, {
|
||
title: '风主6命:受到Q伤害的目标,风抗降低[kx]%,转化的对应元素抗性降低[kx]%',
|
||
cons: 6,
|
||
check: ({ params }) => params.q === true,
|
||
data: {
|
||
kx: 20,
|
||
fykx: 20
|
||
}
|
||
}]
|
||
|
||
export const createdBy = 'Aluxes'
|