miao-plugin/resources/meta-sr/character/翡翠/calc.js
2024-06-22 06:24:34 +08:00

56 lines
1.3 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: '普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['目标伤害'], 'a')
}, {
title: '终结技伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}, {
title: '追击伤害',
dmg: ({ talent }, dmg) => dmg(talent.t['技能伤害'], 't')
}, {
title: '强化追击伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['追加攻击倍率提高'] + talent.t['技能伤害'], 't')
}]
export const defDmgIdx = 3
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '天赋-剔烁之牙50层【当品】使暴击伤害提高[cdmg]%',
data: {
cdmg: ({ talent }) => talent.t['每层爆伤提高'] * 50 * 100
}
}, {
title: '行迹-绝当品50层【当品】额外提升攻击力[atkPct]%',
tree: 3,
data: {
atkPct: 0.5 * 50
}
}, {
title: '翡翠1魂追击伤害提高[tDmg]%',
cons: 1,
data: {
tDmg: 32
}
}, {
title: '翡翠2魂【当品】叠加至15层时暴击率提高[cpct]%',
cons: 2,
data: {
cpct: 18
}
}, {
title: '翡翠4魂释放终结技后造成的伤害无视敌方[ignore]%防御力',
cons: 4,
data: {
ignore: 12
}
}, {
title: '翡翠6魂量子抗性穿透提高[kx]%',
cons: 6,
data: {
kx: 20
}
}]
export const createdBy = 'Aluxes'