miao-plugin/resources/meta/character/九条裟罗/calc.js
yoimiya-kokomi 1f41823f17 修正部分角色的伤害计算错误:蒸发、久岐忍治疗
`#角色持有率` 增加提示说明
`#圣遗物列表` 展示个数提升至28
部分页面样式调整及提示优化
2022-06-22 06:07:12 +08:00

31 lines
752 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
}
}]