mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-18 13:35:12 +00:00
c6a70b3a6d
修正圣遗物流派判定的部分错误
8 lines
425 B
JavaScript
8 lines
425 B
JavaScript
export default function ({ attr, artis, rule, def }) {
|
||
if (artis.is('hp', '3,4,5') && attr.hp > 40000 && attr.cpct * 2 + attr.cdmg < 100) {
|
||
// 血牛钟离,其余词缀权重不高于27.89,确保小生命命中副词缀最高权重
|
||
return rule('钟离-血牛', { hp: 100, atk: 27, cpct: 27, cdmg: 27, recharge: 27 })
|
||
}
|
||
return def({ hp: 80, atk: 75, cpct: 100, cdmg: 100, dmg: 80, phy: 80, recharge: 55 })
|
||
}
|