|
@@ -1,8 +1,32 @@
|
|
|
package com.gmail.nossr50.config.hocon.skills.axes;
|
|
|
|
|
|
+import ninja.leaping.configurate.objectmapping.Setting;
|
|
|
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
|
|
|
|
|
@ConfigSerializable
|
|
|
public class ConfigAxes {
|
|
|
+ public static final double IMPACT_CHANCE_DEFAULT = 25.0D;
|
|
|
+ public static final double IMPACT_DURABILITY_MULTIPLIER_DEFAULT = 6.5D;
|
|
|
|
|
|
+ /*
|
|
|
+ public double getImpactChance() { return config.getDouble("Skills.Axes.ArmorImpact.Chance", 25.0D); }
|
|
|
+ public double getImpactDurabilityDamageMultiplier() { return config.getDouble("Skills.Axes.ArmorImpact.DamagePerRank", 6.5D); }
|
|
|
+ */
|
|
|
+
|
|
|
+ @Setting(value = "Impact-Activation-Chance", comment = "Chance to activate the Impact skill, this is a static chance and does not change per rank of the skill." +
|
|
|
+ "\nDefault value: "+IMPACT_CHANCE_DEFAULT)
|
|
|
+ private double impactChance = IMPACT_CHANCE_DEFAULT;
|
|
|
+
|
|
|
+ @Setting(value = "Impact-Durability-Damage-Multiplier", comment = "The amount of durability damage done by Impact is multiplied by this number" +
|
|
|
+ "\nThe damage done by impact starts at 1 and increases by 1 every rank, this value is then multiplied by this variable to determine the durability damage done to armor." +
|
|
|
+ "\nDefault value: "+IMPACT_DURABILITY_MULTIPLIER_DEFAULT)
|
|
|
+ private double impactDurabilityDamageModifier = IMPACT_DURABILITY_MULTIPLIER_DEFAULT;
|
|
|
+
|
|
|
+ public double getImpactChance() {
|
|
|
+ return impactChance;
|
|
|
+ }
|
|
|
+
|
|
|
+ public double getImpactDurabilityDamageModifier() {
|
|
|
+ return impactDurabilityDamageModifier;
|
|
|
+ }
|
|
|
}
|