miao-plugin/resources/meta-sr/character/卢卡/calc.js

41 lines
1.0 KiB
JavaScript
Raw Normal View History

export const details = [{
title: '普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a['技能伤害'], 'a')
}, {
title: '强化普攻伤害',
dmg: ({ talent }, dmg) => dmg(talent.a2['直冲拳每段伤害'] * 3 + talent.a2['碎天拳伤害'], 'a')
}, {
title: '战技伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['单体伤害'], 'e')
}, {
title: '战技持续伤害',
dmg: ({ talent }, dmg) => dmg(talent.e['持续伤害'], 'dot', 'skillDot')
}, {
title: '终结技伤害',
dmg: ({ talent }, dmg) => dmg(talent.q['技能伤害'], 'q')
}]
export const defDmgIdx = 3
export const mainAttr = 'atk,cpct,cdmg'
export const buffs = [{
title: '终结技:使敌方受到的伤害提高[enemydmg]%',
data: {
enemydmg: ({ talent }) => talent.q['伤害提高'] * 100
}
}, {
title: '卢卡1命对处于裂伤状态的敌人造成伤害提高[dmg]%',
cons: 1,
data: {
dmg: 15
}
}, {
title: '卢卡4命4层【斗志】使攻击力提高[atkPct]%',
cons: 4,
data: {
atkPct: 20
}
}]
export const createdBy = 'Aluxes'