mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-27 18:01:23 +00:00
c6a70b3a6d
修正圣遗物流派判定的部分错误
8 lines
282 B
JavaScript
8 lines
282 B
JavaScript
export default function ({ attr, rule, def }) {
|
|
// 核爆胡桃
|
|
if (attr.cpct < 15 && attr.cdmg > 280) {
|
|
return rule('胡桃-核爆', { hp: 90, atk: 50, cdmg: 100, mastery: 90, dmg: 100 })
|
|
}
|
|
return def({ hp: 80, atk: 50, cpct: 100, cdmg: 100, mastery: 75, dmg: 100 })
|
|
}
|