diff --git a/resources/meta-gs/artifact/calc.js b/resources/meta-gs/artifact/calc.js index 98feb7fb..41acb882 100644 --- a/resources/meta-gs/artifact/calc.js +++ b/resources/meta-gs/artifact/calc.js @@ -456,9 +456,9 @@ const buffs = { } }, 4: { - title: '满层时元素战技造成的伤害提升50%', + title: '元素战技造成的伤害额外提升[eDmg]%', data: { - eDmg: 50 + eDmg: ({ params }) => params.off_field === false ? 25 : 50 } } }, diff --git a/resources/meta-gs/character/艾梅莉埃/calc.js b/resources/meta-gs/character/艾梅莉埃/calc.js index b25c23a1..682b5015 100644 --- a/resources/meta-gs/character/艾梅莉埃/calc.js +++ b/resources/meta-gs/character/艾梅莉埃/calc.js @@ -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 }, diff --git a/resources/meta-gs/weapon/polearm/calc.js b/resources/meta-gs/weapon/polearm/calc.js index 4b40657f..01a2e81a 100644 --- a/resources/meta-gs/weapon/polearm/calc.js +++ b/resources/meta-gs/weapon/polearm/calc.js @@ -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) } }, 贯月矢: {