Waiting room time for next wave set to 30 seconds

This commit is contained in:
Tooze 2026-05-24 10:34:54 -04:00
parent 1d43b576c8
commit 374d0ef8a5
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ import core.game.world.GameWorld
import core.game.world.map.Location
class BAGroundSpawn(private var session: BarbassaultSession, private var respawnRate: Int, item: Item?, location: Location?,
var flag: Boolean? = null) : GroundItem(item, location) {
var flag: Boolean? = null,lureRange: Int = 4) : GroundItem(item, location) {
private var active = true
private var autoSpawn = true

View file

@ -69,7 +69,7 @@ class BarbassaultSession( val activity: BAActivity ? = null) :LogoutListener, M
val scoreManager = BarbScoreManager()
val eventBus = BarbAssEventBus()
private val countDoown = if(GameWorld.settings?.isDevMode == true) 10 else 60
private val countDoown = if(GameWorld.settings?.isDevMode == true) 10 else 30
private var countdownPulse: Pulse? = null
@ -127,7 +127,7 @@ class BarbassaultSession( val activity: BAActivity ? = null) :LogoutListener, M
private fun startCountdown(quickStart: Boolean) {
var ticks = secondsToTicks(countDoown)//60
if(!quickStart){ team.allPlayers().forEach { openOverlay(it, 494);setInterfaceText(it, "60", 494, 0) } }
if(!quickStart){ team.allPlayers().forEach { openOverlay(it, 494);setInterfaceText(it, "30", 494, 0) } }
countdownPulse = object : Pulse(1) {
override fun pulse(): Boolean {
if (state != BarbassaultState.STARTING) return true