miao-plugin/resources/meta/character/神里绫华/calc.js
yoimiya-kokomi 9765c5af18 增加 #雷神伤害 功能
* 可计算圣遗物副词条置换带来的伤害变化,可用于圣遗物副词条侧重方向的参考
* 可以查看指定角色伤害计算的Buff列表
2022-05-01 05:06:17 +08:00

39 lines
867 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 }, dmg) => dmg(talent.a['重击伤害'], 'a2')
}, {
title: "神里流·冰华 伤害",
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: "神里流·霜灭 单段伤害",
dmg: ({ talent }, dmg) => dmg(talent.q['切割伤害'], 'q')
}];
export const mainAttr = "atk,cpct,cdmg";
export const buffs = [{
passive: 1,
title: "神里被动释放E后普攻与重击伤害提高30%",
data: {
aDmg: 30,
a2Dmg: 30
}
}, {
passive: 2,
title: "神里被动霰步命中敌人获得18%冰伤加成",
data: {
dmg: 18
}
}, {
cons: 4,
title: "神里4命元素爆发后敌人防御力降低30%",
data: {
qDef: 30
}
}, {
cons: 6,
title: "神里6命每10秒重击伤害提高[a2Dmg]%",
data: {
a2Dmg: 298
}
}];