diff --git a/game-server/app/services/equipService.ts b/game-server/app/services/equipService.ts index fd086b798..33319748d 100644 --- a/game-server/app/services/equipService.ts +++ b/game-server/app/services/equipService.ts @@ -56,6 +56,9 @@ export function getRandSeResult(id: number, randSe: RandSe[], originSe: RandSe[] newRandSe.push(getJewelRandSe(i + 1, randomResult[i])); } } + if(newRandSe.length < randSe.length) { + newRandSe.push(...randSe.splice(newRandSe.length)); + } return newRandSe }