miao-plugin/resources/meta-sr/character/姬子/calc.js

41 lines
944 B
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 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
}
}]