增加艾梅莉埃后台伤害

This commit is contained in:
liangshi 2024-08-08 09:22:44 +08:00
parent 64074df4e1
commit a3f8894129
3 changed files with 11 additions and 6 deletions

View File

@ -456,9 +456,9 @@ const buffs = {
}
},
4: {
title: '满层时元素战技造成的伤害提升50%',
title: '元素战技造成的伤害额外提升[eDmg]%',
data: {
eDmg: 50
eDmg: ({ params }) => params.off_field === false ? 25 : 50
}
}
},

View File

@ -6,6 +6,11 @@ export const details = [{
title: '柔灯之匣二阶单枚伤害',
params: { e: true },
dmg: ({ talent }, dmg) => dmg(talent.e['柔灯之匣·二阶攻击伤害2'][0], 'e')
}, {
title: '后台柔灯之匣二阶单枚',
check: ({ weapon }) => weapon.name === '息灾',
params: { e: true , off_field: true },
dmg: ({ talent }, dmg) => dmg(talent.e['柔灯之匣·二阶攻击伤害2'][0], 'e')
}, {
title: '天赋浸析伤害',
params: { e: true },

View File

@ -111,10 +111,10 @@ export default function (step, staticStep) {
}
}],
息灾: {
title: '获得[dmg]%元素伤害加成满Buff前台提供[atkPct]%攻击力加成',
refine: {
dmg: step(12),
atkPct: step(3.2 * 6)
title: '获得[dmg]%元素伤害加成满Buff提供[atkPct]%攻击力加成',
data: {
dmg: ({ refine }) => step(12)[refine],
atkPct: ({ refine, params }) => step(3.2 * 6)[refine] * (params.off_field === true ? 2 : 1)
}
},
贯月矢: {