miao-plugin/resources/meta-gs/character/宵宫/artis.js

11 lines
446 B
JavaScript
Raw Normal View History

export default function ({ attr, artis, rule, def }) {
2022-09-13 18:47:14 +00:00
// 宵宫纯色流派
2022-09-16 13:16:51 +00:00
if (attr.mastery < 50 && attr.cpct * 2 + attr.cdmg > 320) {
return rule('宵宫-纯火', { atk: 85, cpct: 100, cdmg: 100, dmg: 100 })
2022-09-13 18:47:14 +00:00
}
if (attr.mastery > 200 && artis.is('mastery', 3)) {
return rule('宵宫-精通', { atk: 75, cpct: 100, cdmg: 100, mastery: 100, dmg: 100 })
2022-09-13 18:47:14 +00:00
}
return def({ atk: 75, cpct: 100, cdmg: 100, mastery: 75, dmg: 100 })
2022-09-13 18:47:14 +00:00
}