为娜维娅增加结晶护盾计算

Signed-off-by: liangshi <1142607614@qq.com>
This commit is contained in:
liangshi 2024-01-02 16:06:28 +00:00 committed by Gitee
parent 2ccac99eb3
commit ba33314877
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -18,6 +18,9 @@ export const details = [{
},{ },{
title: '支援炮击伤害', title: '支援炮击伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['支援炮击伤害'], 'q') dmg: ({ talent }, dmg) => dmg(talent.q['支援炮击伤害'], 'q')
},{
title: '结晶护盾吸收量',
dmg: ({}, { reaction }) => reaction('crystallize')
}] }]
export const defDmgIdx = 3 export const defDmgIdx = 3
@ -47,7 +50,7 @@ export const buffs = [{
title: '娜维娅2命施放典仪式晶火时消耗「裂晶弹片」使本次典仪式晶火的暴击率提升[eCpct]%', title: '娜维娅2命施放典仪式晶火时消耗「裂晶弹片」使本次典仪式晶火的暴击率提升[eCpct]%',
cons: 2, cons: 2,
data: { data: {
eCpct : ({ params }) => Math.min( 36 , params.jp * 12 ) eCpct : ({ params }) => Math.min( 36 , params.jp * 12 )
} }
},{ },{
title: '娜维娅4命被如霰澄天的鸣礼命中的敌人抗性降低[kx]%', title: '娜维娅4命被如霰澄天的鸣礼命中的敌人抗性降低[kx]%',
@ -61,7 +64,7 @@ export const buffs = [{
cons: 6, cons: 6,
data: { data: {
_count: ({ params }) => params.jp , _count: ({ params }) => params.jp ,
eCdmg : ({ params }) => Math.min( 135 , ( params.jp - 3 ) * 45 ) eCdmg : ({ params }) => Math.min( 135 , ( params.jp - 3 ) * 45 )
} }
}] }]