Added a practice mode on Jad, so that Noobs can practice Jad without being in the cave for an hour. Costs 8000 TokKul + supplies. 8000 TokKul is given back if the Noob is successful at defeating Jad. Video of dialogue/functionality: https://www.youtube.com/watch?v=ZESnT0278gI
This commit is contained in:
@@ -68,6 +68,7 @@ object ServerConfigParser {
|
||||
enabled_botting = data.getBoolean("world.enable_botting"),
|
||||
max_adv_bots = data.getLong("world.max_adv_bots").toInt(),
|
||||
wild_pvp_enabled = data.getBoolean("world.wild_pvp_enabled"),
|
||||
jad_practice_enabled = data.getBoolean("world.jad_practice_enabled"),
|
||||
message_model = data.getString("world.motw_identifier").toInt(),
|
||||
message_string = data.getString("world.motw_text").replace("@name",ServerConstants.SERVER_NAME)
|
||||
)
|
||||
|
||||
@@ -80,6 +80,7 @@ class GameSettings
|
||||
var enabled_botting : Boolean,
|
||||
var max_adv_bots: Int,
|
||||
var wild_pvp_enabled: Boolean,
|
||||
var jad_practice_enabled: Boolean,
|
||||
|
||||
/**"Lobby" interface
|
||||
* The message of the week models to display
|
||||
@@ -132,6 +133,7 @@ class GameSettings
|
||||
val enable_botting = if(data.containsKey("botting_enabled")) data["botting_enabled"] as Boolean else false
|
||||
val max_adv_bots = if(data.containsKey("max_adv_bots")) data["max_adv_bots"].toString().toInt() else 100
|
||||
val wild_pvp_enabled = if(data.containsKey("wild_pvp_enabled")) data["wild_pvp_enabled"] as Boolean else true
|
||||
val jad_practice_enabled = if(data.containsKey("jad_practice_enabled")) data["jad_practice_enabled"] as Boolean else true
|
||||
val allow_token_purchase = data["allow_token_purchase"] as Boolean
|
||||
val message_of_the_week_identifier = data["message_of_the_week_identifier"].toString().toInt()
|
||||
val message_of_the_week_text = data["message_of_the_week_text"].toString()
|
||||
@@ -159,6 +161,7 @@ class GameSettings
|
||||
enable_botting,
|
||||
max_adv_bots,
|
||||
wild_pvp_enabled,
|
||||
jad_practice_enabled,
|
||||
message_of_the_week_identifier,
|
||||
message_of_the_week_text
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user