mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2025-01-30 23:19:54 +00:00
蓝砚伤害计算
蓝砚伤害计算
This commit is contained in:
parent
0edbb94330
commit
72931d8343
31
resources/meta-gs/character/蓝砚/calc.js
Normal file
31
resources/meta-gs/character/蓝砚/calc.js
Normal file
@ -0,0 +1,31 @@
|
||||
export const details = [{
|
||||
title: 'E翦月环伤害',
|
||||
dmg: ({ talent }, dmg) => dmg(talent.e['翦月环伤害'], 'e')
|
||||
},{
|
||||
title: '护盾吸收量',
|
||||
dmg: ({ talent, calc, attr }, { shield }) => shield((talent.e['护盾吸收量2'][0] * calc(attr.atk) / 100 + talent.e['护盾吸收量2'][1] * 1) * 1)
|
||||
},{
|
||||
title: 'Q技能单段伤害',
|
||||
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害2'][0], 'q')
|
||||
}]
|
||||
|
||||
export const defParams = { Nightsoul: true }
|
||||
export const defDmgIdx = 1
|
||||
export const mainAttr = 'atk,cpct,cdmg,mastery'
|
||||
|
||||
export const buffs = [{
|
||||
title: '蓝砚天赋:元素战技与元素爆发造成的伤害值提升,提升值分别相当于蓝砚元素精通的[ePlus]和[qPlus]。',
|
||||
sort: 9,
|
||||
data: {
|
||||
ePlus: ({ attr, calc }) => calc(attr.mastery) * 309 / 100,
|
||||
qPlus: ({ attr, calc }) => calc(attr.mastery) * 774 / 100
|
||||
}
|
||||
},{
|
||||
title: '蓝砚4命:施放元素爆发之后元素精通提升[mastery]',
|
||||
cons: 4,
|
||||
data: {
|
||||
mastery: 60
|
||||
}
|
||||
}]
|
||||
|
||||
export const createdBy = '冰翼'
|
Loading…
Reference in New Issue
Block a user