miao-plugin/resources/meta-gs/character/钟离/calc.js
2023-10-25 03:34:36 +08:00

40 lines
1.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 mainAttr = 'hp,atk,cpct,cdmg'
export const buffs = [{
title: '钟离被动满层Buff下护盾强效提高25%',
data: {
shield: 25
}
}, {
title: '岩系护盾岩系护盾吸收效率150%',
data: {
shieldInc: 50
}
}, {
title: '钟离被动:基于生命值上限,共鸣伤害提高[ePlus],天星伤害提高[qPlus]',
sort: 9,
data: {
ePlus: ({ attr, calc }) => calc(attr.hp) * 0.019,
qPlus: ({ attr, calc }) => calc(attr.hp) * 0.33
}
}, {
title: '玉璋护盾降低敌人全抗性20%',
data: {
kx: 20
}
}]