This commit is contained in:
2025-04-26 12:26:28 +08:00
parent 8b9575b5d7
commit 3cd274c1d2
2 changed files with 11 additions and 0 deletions
@@ -212,6 +212,13 @@ export const formatStone = (total: IEquipment[],curSuit?:string) => {
// const remind = temp.length % rowCount
// rzs.push(...temp, ...Array(temp.length == 0 ? rowCount-remind : remind).fill(undefined))
})
const items_sj = total.filter((equip) => equip.categorize.includes('神界'))
const sj: (IEquipment | undefined)[] = []
// const raritiy = Array.from(new Set(items_suits_rzs.map((item) => item.rarity)))
sj.push(...items_sj, ...Array(rowCount - (items_sj.length%rowCount)).fill(undefined))
// const temp = items_suits_rzs.filter((item) => item.itemDetailType === part)
// const remind = temp.length % rowCount
// rzs.push(...temp, ...Array(temp.length == 0 ? rowCount-remind : remind).fill(undefined))
return [
{
name: `${curSuit} 套装`,
@@ -229,5 +236,9 @@ export const formatStone = (total: IEquipment[],curSuit?:string) => {
name: '人造神',
equs: rzs,
},
{
name: '神界',
equs: sj,
},
]
}