miao-plugin/resources/meta-sr/character/艾丝妲/calc.js
Aluxes 986cc67993
新增饮月 希露瓦 桑博 艾丝妲 伤害计算 (#637)
* 新增饮月 希露瓦 桑博 艾丝妲 伤害计算

* fix: arg name
2023-09-06 17:29:48 +08:00

44 lines
981 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.

import { Format } from '#miao'
export const details = [{
title: '普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: '战技伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'] * 5, 'e')
}, {
title: '普攻灼烧持续伤害',
tree: 3,
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'] * 0.5, '', 'skillDot')
}, {
title: '蓄能5层全队加攻',
dmg: ({ talent }) => {
return {
avg: Format.percent(talent.t['攻击力提高'] * 5),
type: 'text'
}
}
}, {
title: '终结技全队速度提高',
dmg: ({ talent }) => {
return {
avg: talent.q['速度提高']
}
}
}]
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '行迹-点燃我方全体火属性伤害提高18%',
tree: 3,
data: {
dmg: 18
}
}, {
title: '蓄能5层攻击力提高[atkPct]%',
data: {
atkPct: ({ talent }) => talent.t['攻击力提高'] * 5 * 100
}
}]