miao-plugin/resources/meta/character/神里绫人/calc.js
yoimiya-kokomi c32579ab63 * 增加 #深渊配队 功能
* 根据当前账号的角色练度及本期深渊出场数据,推荐较匹配的配队方案
  * 深渊出场数据来自胡桃API,为SnapGenshin用户自主上传的深渊挑战记录,感谢SG团队
  * 配队方案仅供参考
2022-05-05 04:53:20 +08:00

37 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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['浪闪伤害值提高'][0] / 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"
}];