From 9d47234918374df37b649fb6611fe8b1a08b94a6 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Fri, 31 May 2019 18:52:28 -0700 Subject: [PATCH] Add private keyword --- .../config/hocon/skills/axes/ConfigAxesCriticalStrikes.java | 6 +++--- .../skills/properties/AbstractMaximumProgressionLevel.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/hocon/skills/axes/ConfigAxesCriticalStrikes.java b/src/main/java/com/gmail/nossr50/config/hocon/skills/axes/ConfigAxesCriticalStrikes.java index 3e6ae45e9..5cd947c24 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/skills/axes/ConfigAxesCriticalStrikes.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/skills/axes/ConfigAxesCriticalStrikes.java @@ -14,14 +14,14 @@ public class ConfigAxesCriticalStrikes { @Setting(value = "Max-Activation-Chance", comment = "This is max percentage chance that is used to determine whether or not the ability is successful." + "\nA value of 50.0 would mean at most the ability can only have a 50% chance to work at max skill level.") - double maxActivationChance = MAX_ACTIVATION_CHANCE_DEFAULT; + private double maxActivationChance = MAX_ACTIVATION_CHANCE_DEFAULT; @Setting(value = "Maximum-Level", comment = "This is the level at which full benefits for this skill will be reached." + "\nProperties of this skill may or may not scale with level, but those that do will gradually increase until max level is achieved.") - AbstractMaximumProgressionLevel maximumProgressionLevel = new AbstractMaximumProgressionLevel(SubSkillType.AXES_CRITICAL_STRIKES, 100, 1000); + private AbstractMaximumProgressionLevel maximumProgressionLevel = new AbstractMaximumProgressionLevel(SubSkillType.AXES_CRITICAL_STRIKES, 100, 1000); @Setting(value = "Damage-Modifiers", comment = "Damage dealt is multiplied by these values when this skill is successfully activated.") - DamageProperty damageProperty = new AbstractDamageProperty(1.5, 2.0); + private DamageProperty damageProperty = new AbstractDamageProperty(1.5, 2.0); public double getMaxActivationChance() { return maxActivationChance; diff --git a/src/main/java/com/gmail/nossr50/datatypes/skills/properties/AbstractMaximumProgressionLevel.java b/src/main/java/com/gmail/nossr50/datatypes/skills/properties/AbstractMaximumProgressionLevel.java index 97a8aef71..15d4c65ba 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/skills/properties/AbstractMaximumProgressionLevel.java +++ b/src/main/java/com/gmail/nossr50/datatypes/skills/properties/AbstractMaximumProgressionLevel.java @@ -4,10 +4,10 @@ import com.gmail.nossr50.datatypes.skills.SubSkillType; public class AbstractMaximumProgressionLevel implements MaximumProgressionLevel { - SubSkillType subSkillType; + private SubSkillType subSkillType; - int standardMaxLevel; - int retroMaxLevel; + private int standardMaxLevel; + private int retroMaxLevel; public AbstractMaximumProgressionLevel(SubSkillType subSkillType, int standardMaxLevel, int retroMaxLevel) { this.subSkillType = subSkillType;