miao-plugin/resources/meta/character/钟离/calc.js

39 lines
1.0 KiB
JavaScript
Raw Normal View History

export const details = [{
2022-08-07 18:26:25 +00:00
title: '玉璋护盾量',
talent: 'e',
dmg: ({ attr, calc, talent }, { shield }) => shield(talent.e['护盾基础吸收量'] + calc(attr.hp) * talent.e['护盾附加吸收量'] / 100)
}, {
2022-08-07 18:26:25 +00:00
title: '共鸣伤害',
talent: 'e',
dmg: ({ talent }, dmg) => dmg(talent.e['岩脊伤害/共鸣伤害'][1], 'e') // 6856
}, {
2022-08-07 18:26:25 +00:00
title: '天星伤害',
talent: 'q',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
2022-08-07 18:26:25 +00:00
}]
2022-08-07 18:26:25 +00:00
export const mainAttr = 'hp,atk,cpct,cdmg'
export const buffs = [{
2022-08-07 18:26:25 +00:00
title: '钟离被动满层Buff下护盾强效提高25%',
data: {
shield: 25
}
}, {
2022-08-07 18:26:25 +00:00
title: '岩系护盾岩系护盾吸收效率150%',
data: {
shieldInc: 50
}
}, {
2022-08-07 18:26:25 +00:00
title: '钟离被动:基于生命值上限,共鸣伤害提高[ePlus],天星伤害提高[qPlus]',
data: {
ePlus: ({ attr, calc }) => calc(attr.hp) * 0.019,
qPlus: ({ attr, calc }) => calc(attr.hp) * 0.33
}
}, {
2022-08-07 18:26:25 +00:00
title: '玉璋护盾降低敌人全抗性20%',
data: {
kx: 20
}
2022-08-07 18:26:25 +00:00
}]