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

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

46 lines
1.3 KiB
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: '普攻伤害',
dmg: ({ talent, cons }, dmg) => {
let plusDmg = cons >= 1 ? 0.6 : 0
return dmg(talent.a['技能伤害'] * (1 + plusDmg), 'a')
}
}, {
title: '战技伤害(单体)',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
}, {
title: '战技伤害(扩散)',
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'] + talent.e['相邻目标伤害'] * 2, 'e')
}, {
title: '秘技触电持续伤害',
dmg: ({ talent }, dmg) => dmg(0.5, '', 'skillDot')
}, {
title: '战技触电持续伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['触电持续伤害'], '', 'skillDot')
}, {
title: '天赋附加伤害',
dmg: ({ talent }, dmg) => dmg(talent.t['技能伤害'], 't')
}, {
title: '终结技伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}]
export const defDmgIdx = 2
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '希露瓦1命普攻对敌方1个随机相邻目标造成等同于普攻伤害60%的雷属性伤害',
cons: 1
}, {
title: '希露瓦6命对触电状态下的敌方目标造成伤害提高30%',
cons: 6,
data: {
dmg: 30
}
}, {
title: '行迹-狂热消灭敌方目标后攻击力提高20%',
tree: 3,
data: {
atkPct: 20
}
}]