Skip to content

Commit 9d2b2ed

Browse files
committed
tweak: spread 30 bots through early dungeon
1 parent 1166418 commit 9d2b2ed

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

s/logic/dungeons/startup.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ export function dungeonStartup(simtron: Simtron, layout: DungeonLayout) {
4848
}
4949

5050
{
51-
const howManyBots = 40
51+
const howManyBots = 30
5252
const radius = constants.crusader.radius
5353
const diameter = radius * 2
5454
let count = 0
55-
out: for (const {sector, cell, tiles} of [...layout.floors].slice(1)) {
56-
for (const spawn of randy.take(20, tiles.array())) {
55+
const startCell = 1
56+
out: for (const {sector, cell, tiles} of [...layout.floors].slice(startCell)) {
57+
for (const spawn of randy.take(5, tiles.array())) {
5758
if (count >= howManyBots)
5859
break out
5960

0 commit comments

Comments
 (0)