mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 12:51:30 +00:00
40 lines
1.0 KiB
JavaScript
40 lines
1.0 KiB
JavaScript
export const details = [{
|
||
title: '玉璋护盾量',
|
||
talent: 'e',
|
||
dmg: ({ attr, calc, talent }, { shield }) => shield(talent.e['护盾基础吸收量'] + calc(attr.hp) * talent.e['护盾附加吸收量'] / 100)
|
||
}, {
|
||
title: '共鸣伤害',
|
||
talent: 'e',
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['岩脊伤害/共鸣伤害'][1], 'e') // 6856
|
||
}, {
|
||
title: '天星伤害',
|
||
talent: 'q',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
|
||
}]
|
||
|
||
export const defDmgIdx = 2
|
||
export const mainAttr = 'hp,atk,cpct,cdmg'
|
||
|
||
export const buffs = [{
|
||
title: '钟离被动:满层Buff下护盾强效提高25%',
|
||
data: {
|
||
shield: 25
|
||
}
|
||
}, {
|
||
title: '岩系护盾:岩系护盾吸收效率150%',
|
||
data: {
|
||
shieldInc: 50
|
||
}
|
||
}, {
|
||
title: '钟离被动:基于生命值上限,共鸣伤害提高[ePlus],天星伤害提高[qPlus]',
|
||
data: {
|
||
ePlus: ({ attr, calc }) => calc(attr.hp) * 0.019,
|
||
qPlus: ({ attr, calc }) => calc(attr.hp) * 0.33
|
||
}
|
||
}, {
|
||
title: '玉璋护盾:降低敌人全抗性20%',
|
||
data: {
|
||
kx: 20
|
||
}
|
||
}]
|