miao-plugin/resources/meta-sr/character/翡翠/calc.js

56 lines
1.3 KiB
JavaScript
Raw Normal View History

2024-06-21 22:24:34 +00:00
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'