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

33 lines
901 B
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%",
data: {
dmg: 15
}
}, {
title: "元素精通:蒸发伤害提高[zf]%",
mastery: "zf"
}];