mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-18 05:30:32 +00:00
9765c5af18
* 可计算圣遗物副词条置换带来的伤害变化,可用于圣遗物副词条侧重方向的参考 * 可以查看指定角色伤害计算的Buff列表
37 lines
1.1 KiB
JavaScript
37 lines
1.1 KiB
JavaScript
export const details = [{
|
||
title: "E后瞬水剑三段伤害",
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['三段瞬水剑伤害'], 'a')
|
||
}, {
|
||
title: "E后瞬水剑三段蒸发",
|
||
dmg: ({ talent }, dmg) => dmg(talent.e['三段瞬水剑伤害'], 'a', 'zf')
|
||
}, {
|
||
title: "神里流·水囿每段伤害",
|
||
params: { q: 1 },
|
||
dmg: ({ talent }, dmg) => dmg(talent.q['水花剑伤害'], 'q')
|
||
}];
|
||
|
||
export const defDmgIdx = 1;
|
||
export const mainAttr = "hp,atk,cpct,cdmg,mastery";
|
||
|
||
export const buffs = [{
|
||
cons: 2,
|
||
title: "绫人2命:3层浪闪以上时提高50%生命值",
|
||
data: {
|
||
hpPct: ({ params }) => params.q ? 0 : 50
|
||
}
|
||
}, {
|
||
check: ({ cons }) => cons < 2,
|
||
title: "4层浪闪:提高瞬水剑伤害[aPlus]",
|
||
data: {
|
||
aPlus: ({ attr, calc, talent }) => calc(attr.hp) * talent.e['浪闪伤害值提高'] / 100 * 4
|
||
}
|
||
}, {
|
||
cons: 2,
|
||
title: "绫人2命:5层浪闪提高瞬水剑伤害[aPlus]",
|
||
data: {
|
||
aPlus: ({ attr, calc, talent }) => calc(attr.hp) * talent.e['浪闪伤害值提高'][0] / 100 * 5
|
||
}
|
||
}, {
|
||
title: "元素精通:蒸发伤害提高[zf]%",
|
||
mastery: "zf"
|
||
}]; |