miao-plugin/resources/meta/character/迪卢克/calc.js

46 lines
1.1 KiB
JavaScript
Raw Normal View History

export const details = [{
title: "E三段伤害",
dmg: ({ talent }, dmg) => dmg(talent.e['三段伤害'], 'e')
}, {
title: "E三段蒸发",
dmg: ({ talent }, dmg) => dmg(talent.e['三段伤害'], 'e', 'zf')
}, {
title: "Q爆发伤害",
params: { q: true },
dmg: ({ talent }, dmg) => dmg(talent.q['斩击伤害'], 'q')
}, {
title: "开Q后单次重击",
params: { q: true },
dmg: ({ talent }, dmg) => dmg(talent.a['重击循环伤害'], 'a2')
}];
export const defParams = { monv: 3 };
export const mainAttr = "atk,cpct,cdmg,mastery";
export const buffs = [{
title: "迪卢克天赋释放元素爆发后获得20%火伤加成",
data: {
dmg: ({ params }) => params.q ? 20 : 0
}
}, {
title: "迪卢克1命对于生命值高于50%的敌人造成伤害提高15%",
cons: 1,
data: {
dmg: 15
}
}, {
title: "迪卢克2命受伤3层提高攻击力30%",
cons: 2,
data: {
atkPct: 30
}
}, {
title: "迪卢克4命间隔2秒释放E提高伤害40%",
cons: 4,
data: {
eDmg: 40
}
}, {
title: "元素精通:蒸发伤害提高[zf]%",
mastery: "zf"
}];