mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-30 02:44:06 +00:00
c19c731ce7
* 新增刃伤害计算及评分规则 * 更新神子 托马 珐露珊 白术 赛诺 银狼 伤害计算
48 lines
1.7 KiB
JavaScript
48 lines
1.7 KiB
JavaScript
export const details = [{
|
||
title: 'E每跳治疗量',
|
||
dmg: ({ talent, calc, attr }, { heal }) => heal(calc(attr.hp) * talent.e['治疗量2'][0] / 100 + talent.e['治疗量2'][1])
|
||
}, {
|
||
title: '2命·E+额外治疗量',
|
||
cons: 2,
|
||
dmg: ({ talent, calc, attr }, { heal }) => heal((calc(attr.hp) * talent.e['治疗量2'][0] / 100 + talent.e['治疗量2'][1]) * 1.2)
|
||
}, {
|
||
title: 'Q每跳治疗量',
|
||
dmg: ({ talent, calc, attr }, { heal }) =>
|
||
heal(talent.q['无郤气护盾治疗量2'][0] * calc(attr.hp) / 100 + talent.q['无郤气护盾治疗量2'][1])
|
||
}, {
|
||
title: 'Q每跳护盾吸收量',
|
||
dmg: ({ talent, calc, attr }, { shield }) => shield(talent.q['无郤气护盾吸收量2'][0] * calc(attr.hp) / 100 + talent.q['无郤气护盾吸收量2'][1])
|
||
}, {
|
||
check: ({ cons }) => cons < 6,
|
||
title: 'Q每跳伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['灵气脉技能伤害'], 'q')
|
||
}, {
|
||
check: ({ cons }) => cons >= 6,
|
||
title: 'Q每跳伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['灵气脉技能伤害'], 'q')
|
||
}, {
|
||
check: ({ cons }) => cons < 6,
|
||
title: 'Q每跳激化伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['灵气脉技能伤害'], 'q', 'spread')
|
||
}, {
|
||
check: ({ cons }) => cons >= 6,
|
||
title: 'Q每跳激化伤害',
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['灵气脉技能伤害'], 'q', 'spread')
|
||
}]
|
||
|
||
export const mainAttr = 'atk,hp,cpct,cdmg'
|
||
|
||
export const buffs = [{
|
||
cons: 4,
|
||
title: '白术4命:释放Q之后,队伍中附近所有角色元素精通提升80点',
|
||
data: {
|
||
mastery: 80
|
||
}
|
||
}, {
|
||
cons: 6,
|
||
title: '白术6命:基于生命值上限的8%,灵气脉造成的伤害提高[qPlus]',
|
||
data: {
|
||
qPlus: ({ attr, calc }) => calc(attr.hp) * 0.08
|
||
}
|
||
}]
|