mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-21 10:25:13 -06:00
Waiting room time for next wave set to 30 seconds
This commit is contained in:
parent
1d43b576c8
commit
374d0ef8a5
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue