mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 17:35:34 +00:00
增加艾梅莉埃后台伤害
This commit is contained in:
parent
64074df4e1
commit
a3f8894129
@ -456,9 +456,9 @@ const buffs = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
4: {
|
4: {
|
||||||
title: '满层时元素战技造成的伤害提升50%',
|
title: '元素战技造成的伤害额外提升[eDmg]%',
|
||||||
data: {
|
data: {
|
||||||
eDmg: 50
|
eDmg: ({ params }) => params.off_field === false ? 25 : 50
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -6,6 +6,11 @@ export const details = [{
|
|||||||
title: '柔灯之匣二阶单枚伤害',
|
title: '柔灯之匣二阶单枚伤害',
|
||||||
params: { e: true },
|
params: { e: true },
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.e['柔灯之匣·二阶攻击伤害2'][0], 'e')
|
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: '天赋浸析伤害',
|
title: '天赋浸析伤害',
|
||||||
params: { e: true },
|
params: { e: true },
|
||||||
|
@ -111,10 +111,10 @@ export default function (step, staticStep) {
|
|||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
息灾: {
|
息灾: {
|
||||||
title: '获得[dmg]%元素伤害加成,满Buff前台提供[atkPct]%攻击力加成',
|
title: '获得[dmg]%元素伤害加成,满Buff提供[atkPct]%攻击力加成',
|
||||||
refine: {
|
data: {
|
||||||
dmg: step(12),
|
dmg: ({ refine }) => step(12)[refine],
|
||||||
atkPct: step(3.2 * 6)
|
atkPct: ({ refine, params }) => step(3.2 * 6)[refine] * (params.off_field === true ? 2 : 1)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
贯月矢: {
|
贯月矢: {
|
||||||
|
Loading…
Reference in New Issue
Block a user