miao-plugin/resources/meta/character/提纳里/calc_teamC0R1.js
2022-11-30 03:44:46 +08:00

97 lines
2.9 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 }, dmg) => dmg(talent.a['花筥箭伤害'], 'a2', '超激化')
}, {
title: '提万妲单支藏蕴花矢伤害',
dmg: ({ talent, cons }, dmg) => dmg(talent.a['藏蕴花矢伤害'], 'a2')
}, {
title: '提万妲二段重击总伤害',
dmg: ({ talent, cons }, dmg) => {
let d1 = dmg(talent.a['花筥箭伤害'], 'a2')
let d2 = dmg(talent.a['藏蕴花矢伤害'], 'a2')
let count = cons * 1 === 6 ? 5 : 4
return {
dmg: d1.dmg + d2.dmg * count,
avg: d1.avg + d2.avg * count
}
}
}, {
title: '提万妲Q总伤害',
params: { q: true },
dmg: ({ talent, cons }, dmg) => {
return dmg(talent.q['缠藤箭伤害'] * 6 + talent.q['次级缠藤箭伤害'] * 6, 'q')
}
}, {
title: '提万妲eQ3e3a总激化伤害',
params: { q: true },
dmg: ({ talent, cons }, dmg) => {
let d1 = dmg(talent.a['花筥箭伤害'], 'a2', '超激化')
let d2 = dmg(talent.a['藏蕴花矢伤害'], 'a2')
let d3 = dmg(talent.a['藏蕴花矢伤害'], 'a2', '超激化')
let q1 = dmg(talent.q['缠藤箭伤害'] , 'q', '超激化')
let q2 = dmg(talent.q['缠藤箭伤害'] , 'q')
let q3 = dmg(talent.q['次级缠藤箭伤害'] , 'q', '超激化')
let q4 = dmg(talent.q['次级缠藤箭伤害'] , 'q')
let count = cons * 1 === 6 ? 4 : 2
return {
dmg: 3*(d1.dmg * count + d2.dmg * 6 + d3.dmg * 2) + q1.dmg * 2+ q2.dmg * 4+ q3.dmg * 2+ q4.dmg * 4,
avg: 3*(d1.avg * count + d2.avg * 6 + d3.avg * 2) + q1.avg * 2+ q2.avg * 4+ q3.avg * 2+ q4.avg * 4
}
}
}]
// 10144 6794&10596
export const mainAttr = 'atk,cpct,cdmg,mastery'
export const defDmgIdx = 4
export const buffs = [{
title: '提纳里被动发射花筥箭后元素精通提升50点',
data: {
mastery: 50,
qMastery: 0
}
}, {
title: '提纳里被动基于元素精通提升重击及Q伤害[a2Dmg]%',
sort: 5,
data: {
a2Dmg: ({ calc, attr }) => Math.min(80, calc(attr.mastery) * 0.08),
qDmg: ({ calc, attr }) => Math.min(80, calc(attr.mastery) * 0.08)
}
}, {
title: '提纳里1命重击暴击率提高15%',
cons: 1,
data: {
a2Cpct: 15
}
}, {
title: '提纳里2命E范围中存在敌人时获得20%草伤加成',
cons: 2,
data: {
dmg: 20
}
}, {
title: '提纳里4命释放Q时提高元素精通60触发反应进一步提升60',
cons: 4,
data: {
mastery: ({ params }) => params.q ? 120 : 0
}
}, {
title: '提纳里6命花筥箭在命中后能产生1枚额外的藏蕴花矢',
cons: 6
},{
title: '精1苍古0命万叶获得[dmg]%增伤(苍古普攻16增伤),增加[atkPct]%攻击,减抗[kx]%',
data: {
aDmg:16,
a2Dmg:16,
a3Dmg:16,
dmg: 40,
atkPct:20,
kx:40
}
}, {
title: '精1千夜纳西妲增加精通[mastery](包括双草),减抗[kx]%',
data: {
mastery: 390,
kx:30
}
}]