miao-plugin/resources/meta/character/七七/calc.js

22 lines
688 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const details = [{
title: 'E每跳治疗',
dmg: ({ talent, attr, calc }, { heal }) =>
heal(talent.e['持续治疗量2'][0] * calc(attr.atk) / 100 + talent.e['持续治疗量2'][1] * 1)
}, {
title: '度厄真符每次治疗',
dmg: ({ talent, attr, calc }, { heal }) => heal(talent.q['治疗量2'][0] * calc(attr.atk) / 100 + talent.q['治疗量2'][1] * 1)
}, {
title: '重击伤害',
dmg: ({ talent, attr, calc }, dmg) => dmg(talent.a['重击伤害'], 'a2', 'phy')
}]
export const mainAttr = 'atk,cpct,cdmg,heal'
export const buffs = [{
title: '七七二命对受冰元素影响的敌人普攻及重击伤害提升15%',
cons: 2,
data: {
a2: 15
}
}]