mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-30 18:59:14 +00:00
d7a7d24311
回调可莉纯火判断逻辑
7 lines
301 B
JavaScript
7 lines
301 B
JavaScript
export default function ({ attr, weapon, rule, def }) {
|
|
if (attr.mastery < 50 && attr.cpct * 2 + attr.cdmg > 320) {
|
|
return rule('可莉-纯火', { atk: 85, cpct: 100, cdmg: 100, dmg: 100, recharge: 55 })
|
|
}
|
|
return def({ atk: 75, cpct: 100, cdmg: 100, mastery: 75, dmg: 100, recharge: 30 })
|
|
}
|