无法更新希诺宁面板 (#810)

This commit is contained in:
bujidao 2024-10-10 21:15:53 +08:00 committed by GitHub
parent 767565946d
commit 0fd1189fd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,8 @@
import { usefulAttr } from "../../artifact/artis-mark.js" import { usefulAttr } from "../../artifact/artis-mark.js"
export default function ({ weapon, rule, def }) { export default function ({ attr, weapon, rule, def }) {
let title = [] let title = []
let particularAttr = JSON.parse(JSON.stringify(usefulAttr['希诺宁'])) let particularAttr = { ...usefulAttr['希诺宁'] }
if (weapon.name === '西风剑') { if (weapon.name === '西风剑') {
title.push('西风剑') title.push('西风剑')
particularAttr.cpct = 100 particularAttr.cpct = 100