miao-plugin/resources/meta-sr/character/加拉赫/calc.js

39 lines
923 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: '普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: '强化普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a2['技能伤害'], 'a')
}, {
title: '战技生命回复',
dmg: ({ talent }, { heal }) => heal(talent.e['生命值回复'])
}, {
title: '天赋生命回复',
dmg: ({ talent }, { heal }) => heal(talent.t['生命值回复'])
}]
export const mainAttr = 'atk,heal,stance'
export const defDmgIdx = 3
export const buffs = [{
title: '行迹-崭新配方:基于自身击破特攻,提高治疗量[heal]%',
tree: 1,
sort: 9,
data: {
heal: ({ attr }) => Math.min(attr.stance * 0.5, 75)
}
}, {
title: '加拉赫1命效果抵抗提高[effDef]%',
cons: 1,
data: {
effDef: 50
}
}, {
title: '加拉赫6命击破特攻提高[stance]%',
data: {
stance: 20
}
}]
export const createdBy = 'Aluxes'