Add private keyword

This commit is contained in:
nossr50 2019-05-31 18:52:28 -07:00
parent 299c989dd4
commit 9d47234918
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;