|
const fieldIndex = Math.floor(index / 3); |
|
fields[fieldIndex].value += `[\`${(index + 1).toString().padStart(2, '0')}\`] ${player.mention}\n`; |
floor((index / 15) * 3)
floor((index / game.players.length) * 3)
floor((index / game.totalSlots) * 3) - or maxPlayers
interaction-prototypes/src/util/game.ts
Lines 60 to 61 in 83102eb
floor((index / 15) * 3)floor((index / game.players.length) * 3)floor((index / game.totalSlots) * 3)- ormaxPlayers