const onRoundStart = (roundNumber) => {
const currentRound = GetCurrentRound()
const iterations = Math.round((currentRound * 1.60) + 2.00)
for(let i = 0; i < iterations; i++) {
onCustomEvent('spawnBots', currentRound)
}
}
const onCustomEvent(event, number) {
switch(event) {
case 'spawnBots': {
if(number < 3) {
onCustomEvent('spawnTier1Bots', null)
} else if(number < 6) {
onCustomEvent('spawnTier2Bots', null)
} else if(number < 10) {
onCustomEvent('spawnTier3Bots', null)
} else if(number === 10){
onCustomEvent('spawnBossWave', null)
} break;
case 'spawnTier1Bots': {
}
}
}