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

31 lines
749 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: "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
}
}]