miao-plugin/resources/meta-sr/character/黑塔/calc.js

59 lines
1.2 KiB
JavaScript
Raw Normal View History

export const details = [{
title: '普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: '战技伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: '终结技伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}, {
title: '追加攻击',
dmg: ({ talent }, dmg) => dmg(talent.t['技能伤害'], 't')
}]
export const defDmgIdx = 2
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '秘技:攻击力提高[atkPct]%',
data: {
atkPct: 40
}
}, {
title: '行迹-效率战技伤害提高25%',
tree: 1,
data: {
eDmg: 25
}
}, {
title: '行迹-冰结施放终结技时对冻结状态下的敌人造成的伤害提高20%',
tree: 3,
data: {
qDmg: 20
}
}, {
title: '战技对生命值百分比大于等于50%的目标战技造成的伤害提高20%',
data: {
eDmg: 20
}
}, {
title: '黑塔2命叠满5层时暴击率提高15%',
cons: 2,
data: {
cpct: 15
}
}, {
title: '黑塔4命天赋追加攻击造成的伤害提高10%',
cons: 4,
data: {
tDmg: 10
}
}, {
title: '黑塔6命施放终结技后攻击力提高25%',
cons: 6,
data: {
atkPct: 25
}
}]