|
@@ -84,15 +84,15 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
|
|
|
if (getCatalysisUnlockLevel() < 0) {
|
|
|
reason.add("Skills.Alchemy.Catalysis.UnlockLevel should be at least 0!");
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (getCatalysisMaxBonusLevel() <= getCatalysisUnlockLevel()) {
|
|
|
reason.add("Skills.Alchemy.Catalysis.MaxBonusLevel should be greater than Skills.Alchemy.Catalysis.UnlockLevel!");
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (getCatalysisMinSpeed() <= 0) {
|
|
|
reason.add("Skills.Alchemy.Catalysis.MinSpeed must be greater than 0!");
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (getCatalysisMaxSpeed() < getCatalysisMinSpeed()) {
|
|
|
reason.add("Skills.Alchemy.Catalysis.MaxSpeed should be at least Skills.Alchemy.Catalysis.MinSpeed!");
|
|
|
}
|
|
@@ -102,10 +102,10 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
|
|
|
if (getConcoctionsTierLevel(tier) < 0) {
|
|
|
reason.add("Skills.Alchemy.Rank_Levels.Rank_" + tier.toNumerical() + " should be at least 0!");
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (tier != Alchemy.Tier.fromNumerical(Alchemy.Tier.values().length)) {
|
|
|
Alchemy.Tier nextTier = alchemyTierList.get(alchemyTierList.indexOf(tier) - 1);
|
|
|
-
|
|
|
+
|
|
|
if (getConcoctionsTierLevel(tier) >= getConcoctionsTierLevel(nextTier)) {
|
|
|
reason.add("Skills.Alchemy.Rank_Levels.Rank_" + tier.toNumerical() + " should be less than Skills.Alchemy.Rank_Levels.Rank_" + nextTier.toNumerical() + "!");
|
|
|
}
|
|
@@ -658,11 +658,12 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
|
|
|
public double getGracefulRollDamageThreshold() { return config.getDouble("Skills.Acrobatics.GracefulRoll.DamageThreshold", 14.0D); }
|
|
|
|
|
|
/* ALCHEMY */
|
|
|
- public int getCatalysisUnlockLevel() { return config.getInt("Skills.Alchemy.Catalysis.UnlockLevel", 100); }
|
|
|
- public int getCatalysisMaxBonusLevel() { return config.getInt("Skills.Alchemy.Catalysis.MaxBonusLevel", 1000); }
|
|
|
+ public int getCatalysisUnlockLevel() { return config.getInt("Skills.Alchemy.Catalysis.UnlockLevel", 100); }
|
|
|
+ public int getCatalysisMaxBonusLevel() { return config.getInt("Skills.Alchemy.Catalysis.MaxBonusLevel", 1000); }
|
|
|
+
|
|
|
public double getCatalysisMinSpeed() { return config.getDouble("Skills.Alchemy.Catalysis.MinSpeed", 1.0D); }
|
|
|
public double getCatalysisMaxSpeed() { return config.getDouble("Skills.Alchemy.Catalysis.MaxSpeed", 4.0D); }
|
|
|
-
|
|
|
+
|
|
|
public int getConcoctionsTierLevel(Alchemy.Tier tier) { return config.getInt("Skills.Alchemy.Rank_Levels.Rank_" + tier.toNumerical()); }
|
|
|
|
|
|
/* ARCHERY */
|