mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-26 09:42:09 +00:00
11 lines
468 B
JavaScript
11 lines
468 B
JavaScript
export default function ({ attr, weapon, rule, def }) {
|
|
// 辅助精通雷神,具体数值待定
|
|
if (attr.mastery > 500) {
|
|
return rule('雷神-精通', { atk: 75, cp: 90, cd: 90, mastery: 100, dmg: 75, recharge: 90 })
|
|
}
|
|
if (weapon.name === '薙草之稻光' && weapon.affix >= 3) {
|
|
return rule('雷神-高精', { atk: 90, cp: 100, cd: 100, dmg: 90, recharge: 90 })
|
|
}
|
|
return def({ atk: 75, cp: 100, cd: 100, mastery: 0, dmg: 75, recharge: 90 })
|
|
}
|