mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-18 13:35:12 +00:00
c6a70b3a6d
修正圣遗物流派判定的部分错误
7 lines
339 B
JavaScript
7 lines
339 B
JavaScript
export default function ({ attr, artis, rule, def }) {
|
|
if (attr.cpct * 2 + attr.cdmg >= 180 && artis.is('dmg', 4)) {
|
|
return rule('暴力芭芭拉', { hp: 50, atk: 75, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, recharge: 30, heal: 50 })
|
|
}
|
|
return def({ hp: 100, atk: 50, cpct: 50, cdmg: 50, dmg: 80, recharge: 55, heal: 100 })
|
|
}
|