Rewrote "emptying" contents of many items

Implemented emptying plant cure
Rewrote DFS handler
Corrected DFS max hit to be 25 instead of 26
Corrected DFS attack cooldown to be 2 mintues instead of 30 secs
Implemented the animation when emptying charges from the DFS
Implemented a server config (better_dfs) to preserve previous functionality (enabled by default)
This commit is contained in:
Zerken
2023-09-12 03:02:03 +00:00
committed by Ryan
parent 0028be9cda
commit e60eecc6bf
7 changed files with 242 additions and 257 deletions
+3
View File
@@ -305,5 +305,8 @@ class ServerConstants {
@JvmField
var BETTER_AGILITY_PYRAMID_GP = true
@JvmField
var BETTER_DFS = true
}
}
@@ -159,6 +159,7 @@ object ServerConfigParser {
ServerConstants.GRAFANA_PATH = data.getPath("integrations.grafana_log_path")
ServerConstants.GRAFANA_LOGGING = data.getBoolean("integrations.grafana_logging", false)
ServerConstants.GRAFANA_TTL_DAYS = data.getLong("integrations.grafana_log_ttl_days", 7L).toInt()
ServerConstants.BETTER_DFS = data.getBoolean("world.better_dfs", true)
val logLevel = data.getString("server.log_level", "VERBOSE").uppercase()
ServerConstants.LOG_LEVEL = parseEnumEntry<LogLevel>(logLevel) ?: LogLevel.VERBOSE