miao-plugin/resources/meta-sr/character/姬子/calc.js
2023-09-23 05:44:45 +08:00

42 lines
971 B
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 }, dmg) => dmg(talent.q['技能伤害'], 'q')
}, {
title: '天赋追击伤害',
dmg: ({ talent }, dmg) => dmg(talent.t['技能伤害'], 't')
}]
export const defDmgIdx = 2
export const mainAttr = 'atk,cpct,cdmg,speed'
export const buffs = [{
title: '姬子秘技释放领域使敌方受到伤害提高10%',
data: {
dmg: 10
}
}, {
title: '姬子1命对生命小于50%的敌人伤害提高15%',
cons: 1,
data: {
dmg: 15
}
}, {
title: '行迹-灼热战技对灼烧状态下的敌方目标造成的伤害提高20%',
tree: 2,
data: {
eDmg: 20
}
}, {
title: '行迹-道标生命值大于80%时提高暴击率15%',
tree: 3,
data: {
cpct: 15
}
}]