mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-18 13:35:12 +00:00
45 lines
1.3 KiB
JavaScript
45 lines
1.3 KiB
JavaScript
|
export const details = [{
|
|||
|
title: "E阳华伤害",
|
|||
|
talent: "e",
|
|||
|
dmg: ({ talent }, dmg) => dmg(talent.e['技能伤害'], 'e')
|
|||
|
}, {
|
|||
|
title: "E刹那之花伤害",
|
|||
|
dmg: ({ talent, attr, calc }, { basic }) => {
|
|||
|
let ret = talent.e['刹那之花伤害'] * calc(attr.def) / 100 + attr.e.plus;
|
|||
|
return basic(ret, 'e');
|
|||
|
}
|
|||
|
}, {
|
|||
|
title: "E刹那之花(打半血)",
|
|||
|
params: {
|
|||
|
half: true
|
|||
|
},
|
|||
|
dmg: ({ talent, attr, calc }, { basic }) => {
|
|||
|
let ret = talent.e['刹那之花伤害'] * calc(attr.def) / 100 + attr.e.plus;
|
|||
|
return basic(ret, 'e');
|
|||
|
}
|
|||
|
}, {
|
|||
|
title: "Q总伤害",
|
|||
|
check: ({ cons }) => cons < 2,
|
|||
|
params: { buff: 0 },
|
|||
|
dmg: ({ talent }, dmg) => dmg(talent.q['爆发伤害'] + talent.q['生灭之花伤害'] * 7, 'q')
|
|||
|
}, {
|
|||
|
title: "满BuffQ总伤害",
|
|||
|
cons: 2,
|
|||
|
dmg: ({ talent }, dmg) => dmg(talent.q['爆发伤害'] + talent.q['生灭之花伤害'] * 7, 'q')
|
|||
|
}];
|
|||
|
|
|||
|
export const mainAttr = "def,atk,cpct,cdmg";
|
|||
|
|
|||
|
export const buffs = [{
|
|||
|
title: "阿贝多被动:刹那之花对生命值低于50%的敌人造成的伤害提高25%",
|
|||
|
data: {
|
|||
|
eDmg: ({ params }) => params.half ? 25 : 0
|
|||
|
}
|
|||
|
}, {
|
|||
|
title: "阿贝多2命:4每层Buff提高Q [qPlus]伤害",
|
|||
|
cons: 2,
|
|||
|
data: {
|
|||
|
qPlus: ({ params, attr, calc }) => params.buff === 0 ? 0 : calc(attr.def) * 1.2
|
|||
|
}
|
|||
|
}]
|