miao-plugin/resources/meta/character/云堇/artis.js
yoimiya-kokomi c6a70b3a6d 修正伤害计算的天赋加成遗漏
修正圣遗物流派判定的部分错误
2022-11-06 12:27:45 +08:00

7 lines
321 B
JavaScript

export default function ({ attr, artis, rule, def }) {
if (artis.is('dmg', 4) && artis.is('cpct,cdmg,def', 5) && (attr.cpct * 2 + attr.cdmg > 180)) {
return rule('云堇-输出', { atk: 75, def: 100, cpct: 100, cdmg: 100, dmg: 100, recharge: 75 })
}
return def({ def: 100, cpct: 50, cdmg: 50, recharge: 90 })
}