mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
Add private keyword
This commit is contained in:
parent
299c989dd4
commit
9d47234918
@ -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." +
|
@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.")
|
"\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." +
|
@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.")
|
"\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.")
|
@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() {
|
public double getMaxActivationChance() {
|
||||||
return maxActivationChance;
|
return maxActivationChance;
|
||||||
|
@ -4,10 +4,10 @@ import com.gmail.nossr50.datatypes.skills.SubSkillType;
|
|||||||
|
|
||||||
public class AbstractMaximumProgressionLevel implements MaximumProgressionLevel {
|
public class AbstractMaximumProgressionLevel implements MaximumProgressionLevel {
|
||||||
|
|
||||||
SubSkillType subSkillType;
|
private SubSkillType subSkillType;
|
||||||
|
|
||||||
int standardMaxLevel;
|
private int standardMaxLevel;
|
||||||
int retroMaxLevel;
|
private int retroMaxLevel;
|
||||||
|
|
||||||
public AbstractMaximumProgressionLevel(SubSkillType subSkillType, int standardMaxLevel, int retroMaxLevel) {
|
public AbstractMaximumProgressionLevel(SubSkillType subSkillType, int standardMaxLevel, int retroMaxLevel) {
|
||||||
this.subSkillType = subSkillType;
|
this.subSkillType = subSkillType;
|
||||||
|
Loading…
Reference in New Issue
Block a user