miao-plugin/resources/meta-gs/character/九条裟罗/calc.js

31 lines
749 B
JavaScript
Raw Normal View History

export const details = [{
title: 'E提升攻击力',
dmg: ({ talent, attr }) => {
return {
avg: talent.e['攻击力加成比例'] * attr.atk.base / 100
}
}
}, {
title: 'E后Q首段伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['天狗咒雷·金刚坏 伤害'], 'q')
}, {
title: 'E后Q每段',
dmg: ({ talent }, dmg) => dmg(talent.q['天狗咒雷·雷砾 伤害'], 'q')
}]
export const defDmgIdx = 1
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '九条E技能提升攻击力[atkPlus]',
data: {
atkPlus: ({ attr, talent }) => talent.e['攻击力加成比例'] * attr.atk.base / 100
}
}, {
title: '九条6命提升60%雷元素爆伤',
cons: 6,
data: {
cdmg: 60
}
}]