clxs
SpawnEnemy lore (scope and what not)
One thing to look at is this line
int level = ed.Next(0, 3);
Look at the docs for how Random.Next works
https://learn.microsoft.com/en-us/dotnet/api/system.random.next?view=net-8.0#system-random-next(system-int32-system-int32)
That'll be returning a value between 0 and 2, is that what you'd expected?19 replies