mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 09:27:34 +00:00
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 })
|
|
}
|