mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-29 18:38:52 +00:00
986cc67993
* 新增饮月 希露瓦 桑博 艾丝妲 伤害计算 * fix: arg name
46 lines
1.3 KiB
JavaScript
46 lines
1.3 KiB
JavaScript
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
|
||
}
|
||
}]
|