miao-plugin/resources/meta/character/夜兰/calc.js

47 lines
1.3 KiB
JavaScript
Raw Normal View History

export const details = [{
2022-08-07 18:26:25 +00:00
title: '破局矢伤害',
dmg: ({ talent, attr, calc }, { basic }) => basic(calc(attr.hp) * talent.a['破局矢伤害'] / 100, 'a2')
}, {
2022-09-14 19:46:34 +00:00
title: 'E络命丝伤害',
dmg: ({ talent, attr, calc }, { basic }) => basic(calc(attr.hp) * talent.e['技能伤害'] / 100, 'e')
}, {
title: 'E络命丝蒸发',
2022-11-16 18:39:20 +00:00
dmg: ({ talent, attr, calc }, { basic }) => basic(calc(attr.hp) * talent.e['技能伤害'] / 100, 'e', '蒸发')
}, {
2022-08-07 18:26:25 +00:00
title: 'Q协同单段伤害',
2022-09-14 19:46:34 +00:00
params: { q: true },
dmg: ({ talent, attr, calc, cons }, { basic }) => {
return basic(calc(attr.hp) * (talent.q['玄掷玲珑伤害'] / 3 / 100), 'q')
}
2022-11-16 18:39:20 +00:00
}, {
title: 'Q协同单段蒸发',
params: { q: true },
dmg: ({ talent, attr, calc, cons }, { basic }) => {
return basic(calc(attr.hp) * (talent.q['玄掷玲珑伤害'] / 3 / 100), 'q', '蒸发')
}
2022-08-07 18:26:25 +00:00
}]
2022-11-16 18:39:20 +00:00
export const defDmgIdx = 4
2022-08-07 18:26:25 +00:00
export const mainAttr = 'hp,cpct,cdmg'
export const buffs = [{
2022-08-07 18:26:25 +00:00
title: '夜兰被动有4个不同元素类型角色时夜兰生命值上限提高30%',
data: {
hpPct: 30
}
}, {
2022-08-07 18:26:25 +00:00
title: '夜兰4命E络命丝爆发提高生命值满Buff下提高40%',
cons: 4,
data: {
hpPct: 40
}
2022-09-14 19:46:34 +00:00
}, {
title: '夜兰被动Q持续过程中满层Buff下提高伤害50%',
data: {
dmg: ({ params }) => params.q ? 50 : 0
}
}, 'vaporize']