2024-10-10 09:52:47 +00:00
|
|
|
import { usefulAttr } from "../../artifact/artis-mark.js"
|
|
|
|
|
|
|
|
export default function ({ attr, weapon, rule, def }) {
|
|
|
|
let title = []
|
|
|
|
let particularAttr = JSON.parse(JSON.stringify(usefulAttr['钟离']))
|
|
|
|
if (weapon.name === '西风长枪') {
|
|
|
|
title.push('西风枪')
|
|
|
|
particularAttr.cpct = 100
|
2022-09-10 19:59:45 +00:00
|
|
|
}
|
2024-10-10 09:52:47 +00:00
|
|
|
if (attr.cpct * 2 + attr.cdmg > 240) {
|
|
|
|
title.push('战斗')
|
|
|
|
particularAttr.hp = 80
|
|
|
|
particularAttr.atk = 75
|
|
|
|
particularAttr.cpct = 100
|
|
|
|
particularAttr.cdmg = 100
|
|
|
|
particularAttr.dmg = 100
|
|
|
|
particularAttr.recharge = 30
|
|
|
|
}
|
|
|
|
if (title.length > 0) {
|
|
|
|
return rule(`钟离-${title.join('')}`, particularAttr)
|
|
|
|
}
|
|
|
|
return def(usefulAttr['钟离'])
|
2022-09-10 19:59:45 +00:00
|
|
|
}
|