From 2feb540076116650a128bb7848fa26a3a54417f7 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Wed, 26 Apr 2023 17:31:17 +0700 Subject: [PATCH] Rebalance explosive hammer config values to make it more practical --- .../ru/dbotthepony/mc/otm/config/ToolsConfig.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/config/ToolsConfig.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/config/ToolsConfig.kt index cf0f347a4..f6aadb631 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/config/ToolsConfig.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/config/ToolsConfig.kt @@ -15,7 +15,7 @@ object ToolsConfig : AbstractConfig("tools") { .comment("The nail penetrate through blocks and entities, losing power in process") .comment("The nail can not travel into unloaded chunks and will stop immediately if it does so") .comment("The nail travels its entire path instantaneously") - .defineInRange("MAX_TRAVEL", 48.0, 0.0, Double.MAX_VALUE) + .defineInRange("MAX_TRAVEL", 64.0, 0.0, Double.MAX_VALUE) val TRAVEL_EXPLOSION_RESIST_MULT: Double by builder .comment("Multiplier of explosion resistance of blocks on nail path") @@ -32,11 +32,11 @@ object ToolsConfig : AbstractConfig("tools") { val TRAVEL_DAMAGE_MULT: Double by builder .comment("Multiplier of current nail force (base of MAX_TRAVEL) for damage values") .comment("That is, any being on path of nail will get damaged by nail power multiplied by this") - .defineInRange("TRAVEL_DAMAGE_MULT", 0.6, 0.0, Double.MAX_VALUE) + .defineInRange("TRAVEL_DAMAGE_MULT", 0.5, 0.0, Double.MAX_VALUE) val TRAVEL_MAX_HEALTH_MULT: Double by builder .comment("Multiplier of being's max health in nail path subtracted from nail force when penetrating through") - .defineInRange("TRAVEL_MAX_HEALTH_MULT", 0.4, 0.0, Double.MAX_VALUE) + .defineInRange("TRAVEL_MAX_HEALTH_MULT", 0.5, 0.0, Double.MAX_VALUE) val DAMAGE_BLOCKS: Boolean by builder .comment("Should hammer (**not** explosion) damage blocks", "Blocks damaged this way will always be dropped") @@ -48,11 +48,11 @@ object ToolsConfig : AbstractConfig("tools") { val FLY_OFF_CHANCE: Double by builder .comment("Chance that hammer will fly off hands of attacker upon impact") - .defineInRange("FLY_OFF_CHANCE", 0.6, 0.0, 1.0) + .defineInRange("FLY_OFF_CHANCE", 0.4, 0.0, 1.0) val SELF_HARM_CHANCE: Double by builder .comment("When hammer DOES NOT fly off hands, what is chance of it damaging the user?", "(this does not account for damage because of hitting things close)", "(idiot)") - .defineInRange("SELF_HARM_CHANCE", 0.4, 0.0, 1.0) + .defineInRange("SELF_HARM_CHANCE", 0.25, 0.0, 1.0) val SELF_HARM_MIN_DAMAGE: Double by builder .comment("When hammer DOES NOT fly off hands, what is minimal damage it deals to the user (in half of hearts)?") @@ -64,7 +64,7 @@ object ToolsConfig : AbstractConfig("tools") { val FLY_OFF_DAMAGE_CHANCE: Double by builder .comment("When hammer flies off hands, what is chance of it damaging the user?") - .defineInRange("FLY_OFF_DAMAGE_CHANCE", 0.8, 0.0, 1.0) + .defineInRange("FLY_OFF_DAMAGE_CHANCE", 0.4, 0.0, 1.0) val FLY_OFF_MIN_DAMAGE: Double by builder .comment("When hammer flies off hands, what is minimal damage it deals to the user (in half of hearts)?") @@ -72,7 +72,7 @@ object ToolsConfig : AbstractConfig("tools") { val FLY_OFF_MAX_DAMAGE: Double by builder .comment("When hammer flies off hands, what is maximal damage it deals to the user (in half of hearts)?") - .defineInRange("FLY_OFF_MAX_DAMAGE", 25.0, 0.0, Double.MAX_VALUE) + .defineInRange("FLY_OFF_MAX_DAMAGE", 20.0, 0.0, Double.MAX_VALUE) } init {