dev
This commit is contained in:
Binary file not shown.
@@ -212,6 +212,13 @@ export const formatStone = (total: IEquipment[],curSuit?:string) => {
|
|||||||
// const remind = temp.length % rowCount
|
// const remind = temp.length % rowCount
|
||||||
// rzs.push(...temp, ...Array(temp.length == 0 ? rowCount-remind : remind).fill(undefined))
|
// 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 [
|
return [
|
||||||
{
|
{
|
||||||
name: `${curSuit} 套装`,
|
name: `${curSuit} 套装`,
|
||||||
@@ -229,5 +236,9 @@ export const formatStone = (total: IEquipment[],curSuit?:string) => {
|
|||||||
name: '人造神',
|
name: '人造神',
|
||||||
equs: rzs,
|
equs: rzs,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: '神界',
|
||||||
|
equs: sj,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user