소스 검색

Clean up advanced.yml comments and keys

TfT_02 11 년 전
부모
커밋
49cbaad47f
2개의 변경된 파일49개의 추가작업 그리고 49개의 파일을 삭제
  1. 8 8
      src/main/java/com/gmail/nossr50/config/AdvancedConfig.java
  2. 41 41
      src/main/resources/advanced.yml

+ 8 - 8
src/main/java/com/gmail/nossr50/config/AdvancedConfig.java

@@ -90,7 +90,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
         }
         }
 
 
         if (getDazeBonusMax() < 1) {
         if (getDazeBonusMax() < 1) {
-            reason.add("Skills.Acrobatics.Daze.MaxChance should be at least 1!");
+            reason.add("Skills.Acrobatics.Daze.ChanceMax should be at least 1!");
         }
         }
 
 
         if (getDazeMaxBonusLevel() < 1) {
         if (getDazeMaxBonusLevel() < 1) {
@@ -102,7 +102,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
         }
         }
 
 
         if (getRetrieveChanceMax() < 1) {
         if (getRetrieveChanceMax() < 1) {
-            reason.add("Skills.Acrobatics.Retrieve.MaxBonus should be at least 1!");
+            reason.add("Skills.Acrobatics.Retrieve.ChanceMax should be at least 1!");
         }
         }
 
 
         if (getRetrieveMaxBonusLevel() < 1) {
         if (getRetrieveMaxBonusLevel() < 1) {
@@ -123,7 +123,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
         }
         }
 
 
         if (getAxesCriticalChance() < 1) {
         if (getAxesCriticalChance() < 1) {
-            reason.add("Skills.Axes.AxesCritical.MaxChance should be at least 1!");
+            reason.add("Skills.Axes.AxesCritical.ChanceMax should be at least 1!");
         }
         }
 
 
         if (getAxesCriticalMaxBonusLevel() < 1) {
         if (getAxesCriticalMaxBonusLevel() < 1) {
@@ -384,7 +384,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
         }
         }
 
 
         if (getSecondSmeltMaxChance() < 1) {
         if (getSecondSmeltMaxChance() < 1) {
-            reason.add("Skills.Smelting.SecondSmelt.MaxBonusChance should be at least 1!");
+            reason.add("Skills.Smelting.SecondSmelt.ChanceMax should be at least 1!");
         }
         }
 
 
         if (getFluxMiningUnlockLevel() < 1) {
         if (getFluxMiningUnlockLevel() < 1) {
@@ -619,11 +619,11 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
     public double getSkillShotBonusMax() { return config.getDouble("Skills.Archery.SkillShot.MaxBonus", 2.0D); }
     public double getSkillShotBonusMax() { return config.getDouble("Skills.Archery.SkillShot.MaxBonus", 2.0D); }
     public double getSkillShotDamageMax() { return config.getDouble("Skills.Archery.SkillShot.MaxDamage", 9.0D); }
     public double getSkillShotDamageMax() { return config.getDouble("Skills.Archery.SkillShot.MaxDamage", 9.0D); }
 
 
-    public double getDazeBonusMax() { return config.getDouble("Skills.Archery.Daze.MaxChance", 50.0D); }
+    public double getDazeBonusMax() { return config.getDouble("Skills.Archery.Daze.ChanceMax", 50.0D); }
     public int getDazeMaxBonusLevel() { return config.getInt("Skills.Archery.Daze.MaxBonusLevel", 1000); }
     public int getDazeMaxBonusLevel() { return config.getInt("Skills.Archery.Daze.MaxBonusLevel", 1000); }
     public double getDazeModifier() { return config.getDouble("Skills.Archery.Daze.BonusDamage", 4.0D); }
     public double getDazeModifier() { return config.getDouble("Skills.Archery.Daze.BonusDamage", 4.0D); }
 
 
-    public double getRetrieveChanceMax() { return config.getDouble("Skills.Archery.Retrieve.MaxBonus", 100.0D); }
+    public double getRetrieveChanceMax() { return config.getDouble("Skills.Archery.Retrieve.ChanceMax", 100.0D); }
     public int getRetrieveMaxBonusLevel() { return config.getInt("Skills.Archery.Retrieve.MaxBonusLevel", 1000); }
     public int getRetrieveMaxBonusLevel() { return config.getInt("Skills.Archery.Retrieve.MaxBonusLevel", 1000); }
 
 
     public double getForceMultiplier() { return config.getDouble("Skills.Archery.ForceMultiplier", 2.0D); }
     public double getForceMultiplier() { return config.getDouble("Skills.Archery.ForceMultiplier", 2.0D); }
@@ -632,7 +632,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
     public double getBonusDamageAxesBonusMax() { return config.getDouble("Skills.Axes.DamageIncrease.MaxBonus", 4.0D); }
     public double getBonusDamageAxesBonusMax() { return config.getDouble("Skills.Axes.DamageIncrease.MaxBonus", 4.0D); }
     public int getBonusDamageAxesMaxBonusLevel() { return config.getInt("Skills.Axes.DamageIncrease.MaxBonusLevel", 200); }
     public int getBonusDamageAxesMaxBonusLevel() { return config.getInt("Skills.Axes.DamageIncrease.MaxBonusLevel", 200); }
 
 
-    public double getAxesCriticalChance() { return config.getDouble("Skills.Axes.AxesCritical.MaxChance", 37.50D); }
+    public double getAxesCriticalChance() { return config.getDouble("Skills.Axes.AxesCritical.ChanceMax", 37.50D); }
     public int getAxesCriticalMaxBonusLevel() { return config.getInt("Skills.Axes.AxesCritical.MaxBonusLevel", 750); }
     public int getAxesCriticalMaxBonusLevel() { return config.getInt("Skills.Axes.AxesCritical.MaxBonusLevel", 750); }
     public double getAxesCriticalPVPModifier() { return config.getDouble("Skills.Axes.AxesCritical.PVP_Modifier", 1.5D); }
     public double getAxesCriticalPVPModifier() { return config.getDouble("Skills.Axes.AxesCritical.PVP_Modifier", 1.5D); }
     public double getAxesCriticalPVEModifier() { return config.getDouble("Skills.Axes.AxesCritical.PVE_Modifier", 2.0D); }
     public double getAxesCriticalPVEModifier() { return config.getDouble("Skills.Axes.AxesCritical.PVE_Modifier", 2.0D); }
@@ -709,7 +709,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
     public double getBurnTimeMultiplier() { return config.getDouble("Skills.Smelting.FuelEfficiency.Multiplier", 3.0D); }
     public double getBurnTimeMultiplier() { return config.getDouble("Skills.Smelting.FuelEfficiency.Multiplier", 3.0D); }
 
 
     public int getSecondSmeltMaxLevel() { return config.getInt("Skills.Smelting.SecondSmelt.MaxBonusLevel", 1000); }
     public int getSecondSmeltMaxLevel() { return config.getInt("Skills.Smelting.SecondSmelt.MaxBonusLevel", 1000); }
-    public double getSecondSmeltMaxChance() { return config.getDouble("Skills.Smelting.SecondSmelt.MaxBonusChance", 100.0D); }
+    public double getSecondSmeltMaxChance() { return config.getDouble("Skills.Smelting.SecondSmelt.ChanceMax", 100.0D); }
 
 
     public int getFluxMiningUnlockLevel() { return config.getInt("Skills.Smelting.FluxMining.UnlockLevel", 250); }
     public int getFluxMiningUnlockLevel() { return config.getInt("Skills.Smelting.FluxMining.UnlockLevel", 250); }
     public double getFluxMiningChance() { return config.getDouble("Skills.Smelting.FluxMining.Chance", 33.0D); }
     public double getFluxMiningChance() { return config.getDouble("Skills.Smelting.FluxMining.Chance", 33.0D); }

+ 41 - 41
src/main/resources/advanced.yml

@@ -25,24 +25,24 @@ Skills:
     ###
     ###
     Acrobatics:
     Acrobatics:
         Dodge:
         Dodge:
-            # ChanceMax: Maximum chance of dodging when on Dodge_MaxBonusLevel or higher
-            # MaxBonusLevel: On this level or higher, the dodge chance will not go higher than Dodge_ChanceMax
-            # DamageModifer: Dodge damage will be divided by this modifier
+            # ChanceMax: Maximum chance of dodging when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: On this level or higher, the dodge chance will not go higher than <ChanceMax>
+            # DamageModifier: Dodge damage will be divided by this modifier
             ChanceMax: 20.0
             ChanceMax: 20.0
             MaxBonusLevel: 800
             MaxBonusLevel: 800
             DamageModifier: 2.0
             DamageModifier: 2.0
 
 
         Roll:
         Roll:
-            # ChanceMax: Maximum chance of rolling when on Roll_MaxBonusLevel or higher
-            # MaxBonusLevel: On this level or higher, the roll chance will not go higher than Roll_ChanceMax
+            # ChanceMax: Maximum chance of rolling when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: On this level or higher, the roll chance will not go higher than <ChanceMax>
             # DamageThreshold: The max damage a player can negate with a roll
             # DamageThreshold: The max damage a player can negate with a roll
             ChanceMax: 100.0
             ChanceMax: 100.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
             DamageThreshold: 7.0
             DamageThreshold: 7.0
 
 
         GracefulRoll:
         GracefulRoll:
-            # ChanceMax: Maximum chance of graceful rolling when on GracefulRoll_MaxBonusLevel or higher
-            # MaxBonusLevel: On this level or higher, the graceful roll chance will not go higher than GracefulRoll_ChanceMax
+            # ChanceMax: Maximum chance of graceful rolling when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: On this level or higher, the graceful roll chance will not go higher than <ChanceMax>
             # DamageThreshold: The max damage a player can negate with a graceful roll
             # DamageThreshold: The max damage a player can negate with a graceful roll
             ChanceMax: 100.0
             ChanceMax: 100.0
             MaxBonusLevel: 500
             MaxBonusLevel: 500
@@ -61,17 +61,17 @@ Skills:
             MaxDamage: 9.0
             MaxDamage: 9.0
 
 
         Daze:
         Daze:
-            # MaxChance: Maximum chance of causing daze to opponents
-            # MaxBonusLevel: Maximum bonus level of Daze, when a player reaches this level his chance of causing a daze will be <Daze_MaxChance>
+            # ChanceMax: Maximum chance of causing daze to opponents when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: Maximum bonus level of Daze, when a player reaches this level his chance of causing a daze will be <ChanceMax>
             # Modifier: Extra damage for arrows that cause a daze (2 damage = 1 heart)
             # Modifier: Extra damage for arrows that cause a daze (2 damage = 1 heart)
-            MaxChance: 50.0
+            ChanceMax: 50.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
             Modifier: 4.0
             Modifier: 4.0
 
 
         Retrieve:
         Retrieve:
-            # MaxChance: Maximum chance or retrieving arrows
-            # MaxBonusLevel: Maximum bonus level for Arrow retrieval, at this level the chance of retrieving arrows from mobs is <MaxBonus>
-            MaxChance: 100.0
+            # ChanceMax: Maximum chance of retrieving arrows when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: Maximum bonus level for Arrow retrieval, at this level the chance of retrieving arrows from mobs is <ChanceMax>
+            ChanceMax: 100.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
 
 
         # ForceMultiplier: Multiply the force of the bow by this for an XP boost.
         # ForceMultiplier: Multiply the force of the bow by this for an XP boost.
@@ -81,15 +81,15 @@ Skills:
     ###
     ###
     Axes:
     Axes:
         DamageIncrease:
         DamageIncrease:
-            # MaxBonus: Maximum bonus damage
-            # MaxBonusLevel: Level where the maximum bonus is reached
+            # MaxBonus: Maximum bonus damage when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: Level where <MaxBonus> is reached
             MaxBonus: 4.0
             MaxBonus: 4.0
             MaxBonusLevel: 200
             MaxBonusLevel: 200
 
 
         AxesCritical:
         AxesCritical:
-            # MaxChance: Maximum chance of causing a critical hit
-            # MaxBonusLevel: Level where the maximum chance of causing critical hits is reached
-            MaxChance: 37.50
+            # ChanceMax: Maximum chance of causing a critical hit when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: Level where <ChanceMax> of causing critical hits is reached
+            ChanceMax: 37.50
             MaxBonusLevel: 750
             MaxBonusLevel: 750
 
 
         AxesCritical:
         AxesCritical:
@@ -98,7 +98,7 @@ Skills:
             PVE_Modifier: 2.0
             PVE_Modifier: 2.0
 
 
         GreaterImpact:
         GreaterImpact:
-            # Chance: Chance of hitting with GreaterImpact, knocksbacks mobs
+            # Chance: Chance of hitting with GreaterImpact, mobs are knocked backwards when successful
             # KnockbackModifier: Velocity modifier of GreaterImpact hits, this determines how great the knockback is
             # KnockbackModifier: Velocity modifier of GreaterImpact hits, this determines how great the knockback is
             # BonusDamage: Extra damage for GreaterImpact hits
             # BonusDamage: Extra damage for GreaterImpact hits
             Chance: 25.0
             Chance: 25.0
@@ -106,7 +106,7 @@ Skills:
             BonusDamage: 2.0
             BonusDamage: 2.0
 
 
         ArmorImpact:
         ArmorImpact:
-            # IncreaseLevel: Every "IncreaseLevel" the durability damage goes up with 1
+            # IncreaseLevel: Every <IncreaseLevel> the durability damage goes up with 1
             # Chance: Chance of hitting with ArmorImpact
             # Chance: Chance of hitting with ArmorImpact
             # MaxPercentageDurabilityDamage: Durability damage cap for ArmorImpact, 20% means that you can never destroy a piece of armor in less than 5 hits
             # MaxPercentageDurabilityDamage: Durability damage cap for ArmorImpact, 20% means that you can never destroy a piece of armor in less than 5 hits
             IncreaseLevel: 50
             IncreaseLevel: 50
@@ -131,7 +131,7 @@ Skills:
             Rank_7: 700
             Rank_7: 700
             Rank_8: 875
             Rank_8: 875
 
 
-        Shake_Chance:
+        ShakeChance:
             Rank_1: 15.0
             Rank_1: 15.0
             Rank_2: 15.0
             Rank_2: 15.0
             Rank_3: 25.0
             Rank_3: 25.0
@@ -172,28 +172,28 @@ Skills:
             RankChange: 200
             RankChange: 200
 
 
         GreenThumb:
         GreenThumb:
-            # StageChange: Level value when the GreenThumb stage level goes up
-            # ChanceMax: Maximum chance of GreenThumb
-            # MaxBonusLevel: On this level, GreenThumb chance will be ChanceMax
+            # StageChange: Level value when the GreenThumb stage rank goes up
+            # ChanceMax: Maximum chance of GreenThumb when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: On this level, GreenThumb chance will be <ChanceMax>
             StageChange: 200
             StageChange: 200
             ChanceMax: 100.0
             ChanceMax: 100.0
             MaxBonusLevel: 1500
             MaxBonusLevel: 1500
 
 
         DoubleDrops:
         DoubleDrops:
-            # ChanceMax: Maximum chance of receiving double drops
-            # MaxBonusLevel: Level when the maximum chance of receiving double drops is reached
+            # ChanceMax: Maximum chance of receiving double drops when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: Level when <ChanceMax> of receiving double drops is reached
             ChanceMax: 100.0
             ChanceMax: 100.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
 
 
         HylianLuck:
         HylianLuck:
-            # ChanceMax: Maximum chance of Hylian Luck
-            # MaxBonusLevel: On this level, Hylian Luck chance will be ChanceMax
+            # ChanceMax: Maximum chance of Hylian Luck when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: On this level, Hylian Luck chance will be <ChanceMax>
             ChanceMax: 10.0
             ChanceMax: 10.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
 
 
-        # ChanceMax: Maximum chance of ShroomThumb
-        # MaxBonusLevel: On this level, ShroomThumb chance will be ChanceMax
         ShroomThumb:
         ShroomThumb:
+            # ChanceMax: Maximum chance of ShroomThumb when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: On this level, ShroomThumb chance will be <ChanceMax>
             ChanceMax: 50.0
             ChanceMax: 50.0
             MaxBonusLevel: 1500
             MaxBonusLevel: 1500
     #
     #
@@ -201,8 +201,8 @@ Skills:
     ###
     ###
     Mining:
     Mining:
         DoubleDrops:
         DoubleDrops:
-            # ChanceMax: Maximum chance of receiving double drops
-            # MaxBonusLevel: Level when the maximum chance of receiving double drops is reached
+            # ChanceMax: Maximum chance of receiving double drops when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: Level when <ChanceMax> of receiving double drops is reached
             ChanceMax: 100.0
             ChanceMax: 100.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
 
 
@@ -277,14 +277,14 @@ Skills:
     ###
     ###
     Repair:
     Repair:
         RepairMastery:
         RepairMastery:
-            # ChanceMax: Maximum bonus percentage for Repair Mastery
+            # MaxBonusPercentage: Maximum bonus percentage for Repair Mastery
             # MaxBonusLevel: On this level, the maximum bonus is reached
             # MaxBonusLevel: On this level, the maximum bonus is reached
             MaxBonusPercentage: 200.0
             MaxBonusPercentage: 200.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
 
 
         SuperRepair:
         SuperRepair:
-            # ChanceMax: Maximum chance of Super Repair
-            # MaxBonusLevel: On this level, Super Repair chance will be SuperRepair_ChanceMax
+            # ChanceMax: Maximum chance of Super Repair when on <MaxBonusLevel> or higher
+            # MaxBonusLevel: On this level, Super Repair chance will be <ChanceMax>
             ChanceMax: 100.0
             ChanceMax: 100.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
 
 
@@ -333,9 +333,9 @@ Skills:
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
 
 
         SecondSmelt:
         SecondSmelt:
-            # MaxBonusChance: Maximum chance of triggering Second Smelt
-            # MaxBonusLevel: On this level, the chance to cause Second Smelt will be SecondSmelt_MaxBonusChance
-            MaxBonusChance: 100.0
+            # ChanceMax: Maximum chance of triggering Second Smelt
+            # MaxBonusLevel: On this level, the chance to cause Second Smelt will be <ChanceMax>
+            ChanceMax: 100.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000
 
 
         FluxMining:
         FluxMining:
@@ -372,7 +372,7 @@ Skills:
     Swords:
     Swords:
         Bleed:
         Bleed:
             # ChanceMax: Maximum chance of triggering bleeding
             # ChanceMax: Maximum chance of triggering bleeding
-            # MaxBonusLevel: On this level, the chance to cause Bleeding will be Bleed_ChanceMax
+            # MaxBonusLevel: On this level, the chance to cause Bleeding will be <ChanceMax>
             ChanceMax: 75.0
             ChanceMax: 75.0
             MaxBonusLevel: 750
             MaxBonusLevel: 750
 
 
@@ -385,7 +385,7 @@ Skills:
             RequiresBlock: true
             RequiresBlock: true
 
 
             # ChanceMax: Maximum chance of triggering a counter attack
             # ChanceMax: Maximum chance of triggering a counter attack
-            # MaxBonusLevel: On this level, the chance to Counter will be Counter_ChanceMax
+            # MaxBonusLevel: On this level, the chance to Counter will be <ChanceMax>
             ChanceMax: 30.0
             ChanceMax: 30.0
             MaxBonusLevel: 600
             MaxBonusLevel: 600
 
 
@@ -403,7 +403,7 @@ Skills:
     Taming:
     Taming:
         Gore:
         Gore:
             # ChanceMax: Maximum chance of triggering gore
             # ChanceMax: Maximum chance of triggering gore
-            # MaxBonusLevel: On this level, the chance to cause Gore will be Gore_ChanceMax
+            # MaxBonusLevel: On this level, the chance to cause Gore will be <ChanceMax>
             ChanceMax: 100.0
             ChanceMax: 100.0
             MaxBonusLevel: 1000
             MaxBonusLevel: 1000