miao-plugin/resources/meta-sr/character/加拉赫/calc.js
2024-05-14 23:18:13 +08:00

45 lines
1.1 KiB
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: '天赋-鏖战正酣终结技Debuff使敌方受到的击破伤害提高[breakEnemydmg]%',
data: {
breakEnemydmg: ({ talent }) => talent.t['击破伤害提高'] * 100
}
}, {
title: '加拉赫1命效果抵抗提高[effDef]%',
cons: 1,
data: {
effDef: 50
}
}, {
title: '加拉赫6命击破特攻提高[stance]%',
cons: 6,
data: {
stance: 20
}
}]
export const createdBy = 'Aluxes'