survivors: chainBall now attacks the furthest away enemy within range

refactoring player stats a bit
changing schedule the enemies are spawned
This commit is contained in:
Sheldan
2025-09-07 15:25:50 +02:00
parent 70130f47a4
commit 27862e19df
5 changed files with 44 additions and 10 deletions

View File

@@ -110,9 +110,12 @@ docReady(function () {
setInterval(() => {
BasicEnemy.spawnBasicEnemy(world)
ShootingEnemy.spawnShootingEnemy(world)
}, 1_000)
setInterval(() => {
ShootingEnemy.spawnShootingEnemy(world)
}, 3_000)
setInterval(() => {
HealthEnemy.spawnHealthEnemy(world)
}, 15_000)