mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 01:21:55 +00:00
45 lines
1.1 KiB
JavaScript
45 lines
1.1 KiB
JavaScript
export const details = [{
|
||
title: '三岩E伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
|
||
}, {
|
||
title: '三岩Q伤害',
|
||
dmg: ({ talent, attr, calc }, { basic }) => {
|
||
let ret = talent.q['技能伤害'] * calc(attr.def) / 100 + attr.q.plus * 1
|
||
return basic(ret, 'q')
|
||
}
|
||
}, {
|
||
title: '三岩Q每跳伤害',
|
||
dmg: ({ talent, attr, calc }, { basic }) => {
|
||
let ret = talent.q['岩晶崩破伤害'] * calc(attr.def) / 100 + attr.q.plus * 1
|
||
return basic(ret, 'q')
|
||
}
|
||
}, {
|
||
title: 'Q每跳治疗',
|
||
cons: 4,
|
||
dmg: ({ attr, calc }, { heal }) => heal(0.5 * calc(attr.def))
|
||
}]
|
||
|
||
export const mainAttr = 'atk,def,cpct,cdmg'
|
||
|
||
export const buffs = [{
|
||
title: '五郎天赋:释放E或Q后防御力提高[defPlus],岩伤提高15%',
|
||
data: {
|
||
defPlus: ({ talent }) => talent.e['防御力提升'] * 1,
|
||
dmg: 15
|
||
}
|
||
}, {
|
||
title: '五郎被动:释放E后防御力提高25%',
|
||
data: {
|
||
defPct: 25
|
||
}
|
||
}, {
|
||
title: '五郎4命:Q每跳回复防御力50%',
|
||
cons: 4
|
||
}, {
|
||
title: '五郎6命:三岩队伍提高40%岩伤',
|
||
cons: 6,
|
||
data: {
|
||
dmg: 40
|
||
}
|
||
}]
|