|
@@ -20,7 +20,10 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
|
|
|
|
|
|
/* GENERAL */
|
|
/* GENERAL */
|
|
public int getAbilityLength() { return config.getInt("Skills.General.Ability_IncreaseLevel", 50); }
|
|
public int getAbilityLength() { return config.getInt("Skills.General.Ability_IncreaseLevel", 50); }
|
|
- public int getEnchantBuff() { return config.getInt("Skills.General.Ability_EnchantBuff", 5); }
|
|
|
|
|
|
+ public int getEnchantBuff() {
|
|
|
|
+ int buff = config.getInt("Skills.General.Ability_EnchantBuff", 5);
|
|
|
|
+ return (buff <= 0) ? 1 : buff;
|
|
|
|
+ }
|
|
|
|
|
|
/* ACROBATICS */
|
|
/* ACROBATICS */
|
|
public double getDodgeChanceMax() { return config.getDouble("Skills.Acrobatics.Dodge_ChanceMax", 20.0D); }
|
|
public double getDodgeChanceMax() { return config.getDouble("Skills.Acrobatics.Dodge_ChanceMax", 20.0D); }
|