mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-30 19:56:22 +01:00
close server onstartup and increase premium reward on same day login
This commit is contained in:
@@ -196,6 +196,7 @@ function onStartup()
|
||||
end
|
||||
|
||||
spawnRashid()
|
||||
addEvent(function () Game.setGameState(GAME_STATE_CLOSED) end, 5000)
|
||||
setGlobalStorageValue(17657, 0) -- reset POI levers
|
||||
setGlobalStorageValue(8420, monsterOfTheDay[math.random(1, #monsterOfTheDay)].id)
|
||||
setGlobalStorageValue(8421, math.random(10, 25))
|
||||
|
||||
Reference in New Issue
Block a user