miao-plugin/resources/meta/character/流浪者/calc.js

45 lines
1.4 KiB
JavaScript
Raw Normal View History

export const details = [{
title: '开E后首段普攻',
2022-12-03 21:17:07 +00:00
params: { pyro: false, cryo: false },
dmg: ({ talent }, dmg) => dmg(talent.a['一段伤害'], 'a')
2022-12-03 21:17:07 +00:00
}, {
title: '开E后重击',
2022-12-03 21:17:07 +00:00
params: { pyro: false, cryo: false },
dmg: ({ talent }, dmg) => dmg(talent.a['重击伤害'], 'a2')
}, {
title: '开E满染火首段普攻',
2022-12-03 21:17:07 +00:00
params: { pyro: true, cryo: false },
dmg: ({ talent }, dmg) => dmg(talent.a['一段伤害'], 'a')
}, {
title: '开E满染火染冰首段普攻',
2022-12-03 21:17:07 +00:00
params: { pyro: true, cryo: true },
dmg: ({ talent }, dmg) => dmg(talent.a['一段伤害'], 'a')
}, {
2022-12-03 21:17:07 +00:00
title: 'Q伤害',
params: { pyro: true, cryo: true },
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}]
export const defDmgIdx = 3
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '羽画·风姿华歌开启E后额外提升普通[aMulti]%伤害,重击[a2Multi]%伤害',
data: {
aMulti: ({ talent }) => talent.e['空居·不生断伤害'] - 100,
a2Multi: ({ talent }) => talent.e['空居·刀风界伤害'] - 100
}
}, {
title: '天赋拾玉得花火元素攻击力提升30%,冰元素暴击率提升20%',
data: {
atkPct: ({ params }) => params.pyro ? 30 : 0,
2022-12-03 21:17:07 +00:00
cpct: ({ params }) => params.cryo ? 20 : 0
}
}, {
title: '二番·箙岛月白浪至多使狂言·式乐五番造成的伤害提升200%',
cons: 2,
data: {
qDmg: 200
}
}]