mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
fix: 部分角色饰金之梦计算层数错误
This commit is contained in:
parent
4e030ab82c
commit
8a1d5eff03
@ -376,9 +376,12 @@ const buffs = {
|
|||||||
饰金之梦: {
|
饰金之梦: {
|
||||||
2: attr('mastery', 80),
|
2: attr('mastery', 80),
|
||||||
4: {
|
4: {
|
||||||
title: '队伍存在其他3个不同元素类型角色时,精通提高150',
|
title: '队伍存在[mArtisDiffCount]个不同元素类型角色,[sameCount]个相同类型角色,精通提高[mastery],攻击力提高[atkPct]%',
|
||||||
data: {
|
data: {
|
||||||
mastery: 150
|
mArtisDiffCount: ({ params }) => params.mArtisDiffCount || 3,
|
||||||
|
sameCount: ({ params }) => 3 - (params.mArtisDiffCount || 3),
|
||||||
|
mastery: ({ params }) => (params.mArtisDiffCount || 3) * 50,
|
||||||
|
atkPct: ({ params }) => (3 - (params.mArtisDiffCount || 3)) * 14
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -23,13 +23,13 @@ export const details = [{
|
|||||||
}, {
|
}, {
|
||||||
check: ({ cons }) => cons < 2,
|
check: ({ cons }) => cons < 2,
|
||||||
dmgKey: 'e_t',
|
dmgKey: 'e_t',
|
||||||
params: { team: true, team2: false },
|
params: { team: true, team2: false, mArtisDiffCount: 1 },
|
||||||
title: '温三雷叄阶杀生樱伤害',
|
title: '温三雷叄阶杀生樱伤害',
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.e['杀生樱伤害·叁阶'], 'e')
|
dmg: ({ talent }, dmg) => dmg(talent.e['杀生樱伤害·叁阶'], 'e')
|
||||||
}, {
|
}, {
|
||||||
check: ({ cons }) => cons >= 2,
|
check: ({ cons }) => cons >= 2,
|
||||||
dmgKey: 'e_t',
|
dmgKey: 'e_t',
|
||||||
params: { team: true, team2: false },
|
params: { team: true, team2: false, mArtisDiffCount: 1 },
|
||||||
title: '温三雷肆阶杀生樱伤害',
|
title: '温三雷肆阶杀生樱伤害',
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.e['杀生樱伤害·肆阶'], 'e')
|
dmg: ({ talent }, dmg) => dmg(talent.e['杀生樱伤害·肆阶'], 'e')
|
||||||
}, {
|
}, {
|
||||||
@ -49,7 +49,7 @@ export const details = [{
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
title: '温三雷四段Q总伤害',
|
title: '温三雷四段Q总伤害',
|
||||||
params: { team: true, team2: false },
|
params: { team: true, team2: false, mArtisDiffCount: 1 },
|
||||||
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'] + talent.q['天狐霆雷伤害'] * 3, 'q')
|
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'] + talent.q['天狐霆雷伤害'] * 3, 'q')
|
||||||
}, {
|
}, {
|
||||||
check: ({ cons }) => cons < 2,
|
check: ({ cons }) => cons < 2,
|
||||||
@ -80,7 +80,9 @@ export const mainAttr = 'atk,cpct,cdmg,mastery,dmg'
|
|||||||
export const defDmgKey = 'e_j'
|
export const defDmgKey = 'e_j'
|
||||||
|
|
||||||
export const defParams = {
|
export const defParams = {
|
||||||
team: true, team2: true
|
team: true,
|
||||||
|
team2: true,
|
||||||
|
mArtisDiffCount: 3
|
||||||
}
|
}
|
||||||
|
|
||||||
export const buffs = [{
|
export const buffs = [{
|
||||||
|
@ -52,6 +52,7 @@ export const details = [{
|
|||||||
|
|
||||||
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
||||||
export const defDmgKey = 'a2_j'
|
export const defDmgKey = 'a2_j'
|
||||||
|
export const defParams = { mArtisDiffCount: 2 }
|
||||||
|
|
||||||
export const buffs = [{
|
export const buffs = [{
|
||||||
title: '提纳里被动:发射花筥箭后,元素精通提升50点',
|
title: '提纳里被动:发射花筥箭后,元素精通提升50点',
|
||||||
|
@ -70,6 +70,7 @@ export const details = [{
|
|||||||
|
|
||||||
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
||||||
export const defDmgIdx = 5
|
export const defDmgIdx = 5
|
||||||
|
export const defParams = { mArtisDiffCount: 2 }
|
||||||
|
|
||||||
export const buffs = [{
|
export const buffs = [{
|
||||||
title: '提纳里被动:发射花筥箭后,元素精通提升50点',
|
title: '提纳里被动:发射花筥箭后,元素精通提升50点',
|
||||||
@ -124,7 +125,7 @@ export const buffs = [{
|
|||||||
mastery: 140
|
mastery: 140
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
check: ({ params, artis }) => ( params.team === true && artis.深林的记忆 !== 4 ),
|
check: ({ params, artis }) => (params.team === true && artis.深林的记忆 !== 4),
|
||||||
title: '纳西妲-草套:减抗[kx]%',
|
title: '纳西妲-草套:减抗[kx]%',
|
||||||
data: {
|
data: {
|
||||||
kx: 30
|
kx: 30
|
||||||
|
@ -50,6 +50,7 @@ export const details = [{
|
|||||||
|
|
||||||
export const defDmgIdx = 4
|
export const defDmgIdx = 4
|
||||||
export const mainAttr = 'atk,mastery,cpct,cdmg'
|
export const mainAttr = 'atk,mastery,cpct,cdmg'
|
||||||
|
export const defParams = { mArtisDiffCount: 2 }
|
||||||
|
|
||||||
export const buffs = [{
|
export const buffs = [{
|
||||||
title: '草神1命:火元素队友额外计入1位',
|
title: '草神1命:火元素队友额外计入1位',
|
||||||
|
@ -58,7 +58,9 @@ export const details = [{
|
|||||||
}]
|
}]
|
||||||
|
|
||||||
export const defParams = {
|
export const defParams = {
|
||||||
q: true, team: true
|
q: true,
|
||||||
|
team: true,
|
||||||
|
mArtisDiffCount: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
export const defDmgIdx = 5
|
export const defDmgIdx = 5
|
||||||
|
@ -61,7 +61,8 @@ export const mainAttr = 'atk,cpct,cdmg,mastery'
|
|||||||
|
|
||||||
export const defParams = {
|
export const defParams = {
|
||||||
q: false,
|
q: false,
|
||||||
e: true
|
e: true,
|
||||||
|
mArtisDiffCount: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
export const buffs = [{
|
export const buffs = [{
|
||||||
|
@ -97,6 +97,7 @@ export const details = [{
|
|||||||
|
|
||||||
export const defDmgKey = 'q'
|
export const defDmgKey = 'q'
|
||||||
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
||||||
|
export const defParams = { mArtisDiffCount: 2 }
|
||||||
|
|
||||||
export const buffs = [{
|
export const buffs = [{
|
||||||
title: '圣仪·煟煌随狼行:Q状态下提升元素精通100点',
|
title: '圣仪·煟煌随狼行:Q状态下提升元素精通100点',
|
||||||
|
Loading…
Reference in New Issue
Block a user