miao-plugin/resources/meta-sr/character/银狼/calc.js
2024-01-05 07:14:23 +08:00

59 lines
1.4 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.e['技能伤害'], 'e')
}, {
title: '终结技伤害',
dmg: ({ talent, cons }, dmg) => {
let addDmg = (cons * 1 >= 4) ? 1 : 0
return dmg(talent.q['技能伤害'] + addDmg, 'q')
}
}, {
title: '击破纠缠伤害(10韧性怪)',
dmg: ({ calc, attr }, { reaction }) => {
return {
avg: reaction('entanglement').avg * 5 * (10 + 2) / 4
}
}
}]
export const defDmgIdx = 2
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '银狼天赋:防御力缺陷降低敌方防御力[enemyDef]%',
data: {
enemyDef: ({ talent }) => talent.t['防御力降低'] * 100
}
}, {
title: '银狼战技:添加弱点降低对方对应属性抗性[kx]%',
data: {
kx: 20
}
}, {
title: '银狼终结技:释放终结技降低敌方防御[enemyDef]%',
data: {
enemyDef: ({ talent }) => talent.q['防御力降低'] * 100
}
}, {
title: '银狼4命敌方有5个负面Buff附加100%攻击力的量子属性附加伤害',
cons: 4,
data: {}
}, {
title: '银狼6命敌方有5个负面Buff提高100%受到的伤害',
cons: 6,
data: {
dmg: 100
}
}, {
title: '行迹-旁注敌方目标的负面效果数量大于等于3个额外降低抗性3%',
tree: 2,
data: {
kx: 3
}
}]
export const createdBy = 'Aluxes'