娜维娅组队伤害计算

This commit is contained in:
liangshi 2023-12-22 22:37:32 +08:00
parent 8aadca5483
commit 65f196183b

View File

@ -0,0 +1,100 @@
export const details = [{
title: 'E后普通攻击一段',
dmg: ({ talent }, dmg) => dmg(talent.a['一段伤害'], 'a')
},{
title: '0消耗典仪式晶火',
dmg: ({ talent }, dmg) => dmg(talent.e['玫瑰晶弹基础伤害'], 'e')
},{
title: '3消耗典仪式晶火',
params: { jp: 3 },
dmg: ({ talent }, dmg) => dmg(talent.e['玫瑰晶弹基础伤害'] * 2 , 'e')
},{
title: '6消耗典仪式晶火',
params: { jp: 6 },
dmg: ({ talent }, dmg) => dmg(talent.e['玫瑰晶弹基础伤害'] * 2 , 'e')
},{
title: '如霰澄天的鸣礼伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
},{
title: '支援炮击伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['支援炮击伤害'], 'q')
},{
title: '娜芙夜琴EAAA冲AA两轮',
params: { jp: 6 , team: true },
dmg: ({ talent }, dmg) => {
let a1 = dmg(talent.a['一段伤害'], 'a')
let a2 = dmg(talent.a['二段伤害'], 'a')
let a3 = dmg(talent.a['三段伤害'], 'a')
let e = dmg(talent.e['玫瑰晶弹基础伤害'] * 2 , 'e')
let e_Arkhe = dmg(talent.e['流涌之刃伤害'], 'e')
return {
dmg: e.dmg * 2 + e_Arkhe.dmg + 2 * ( 2 * a1.dmg + 2 * a2.dmg + a3.dmg ) ,
avg: e.avg * 2 + e_Arkhe.avg + 2 * ( 2 * a1.avg + 2 * a2.avg + a3.avg )
}
}
}]
export const defDmgIdx = 6
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
check: ({ params }) => params.jp > 3 ,
title: '典仪式晶火:消耗[_count]枚弹片将使本次射击造成的伤害额外提升[eDmg]%',
data: {
_count: ({ params }) => params.jp ,
eDmg: ({ params }) => ( params.jp - 3 ) * 15
}
},{
title: '娜维娅天赋:施放典仪式晶火后娜维娅的普攻,重击,下落攻击造成的伤害提升[aDmg]%',
data: {
aDmg: 40,
a2Dmg: 40,
a3Dmg: 40
}
},{
title: '娜维娅天赋:队伍中存在三位火雷冰水元素角色,攻击力提升[atkPct]%',
data: {
atkPct: 40
}
},{
check: ({ params }) => params.jp !== undefined ,
title: '娜维娅2命施放典仪式晶火时消耗「裂晶弹片」使本次典仪式晶火的暴击率提升[eCpct]%',
cons: 2,
data: {
eCpct : ({ params }) => Math.min( 36 , params.jp * 12 )
}
},{
title: '娜维娅4命被如霰澄天的鸣礼命中的敌人抗性降低[kx]%',
cons: 4,
data: {
kx: 20
}
},{
check: ({ params }) => params.jp > 3 ,
title: '娜维娅6命消耗[_count]枚弹片,使典仪式晶火的暴击伤害提升[eCdmg]%',
cons: 6,
data: {
_count: ({ params }) => params.jp ,
eCdmg : ({ params }) => Math.min( 135 , ( params.jp - 3 ) * 45 )
}
}, {
check: ({ params }) => params.team === true ,
title: '夜兰:获得[dmg]%增伤',
data: {
dmg: 35
}
}, {
check: ({ params }) => params.team === true ,
title: '芙宁娜:获得[dmg]%增伤',
data: {
dmg: 52.5
}
}, {
check: ({ params , artis }) => params.team === true && artis.昔日宗室之仪 !== 4 ,
title: '宗室琴:增加[atkPlus]%攻击力',
data: {
atkPct: 20
}
}]
export const createdBy = 'liangshi'