Skip to content

Commit

Permalink
Updated certain config names
Browse files Browse the repository at this point in the history
  • Loading branch information
Majrusz committed May 30, 2021
1 parent fde9385 commit 35a9f82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ public UndeadArmyConfig() {
this.availability = new AvailabilityConfig( "is_enabled", availabilityComment, false, true );
this.killRequirement = new IntegerConfig( "kill_requirement", killComment, false, 100, 10, 1000 );
this.scaleWithPlayers = new DoubleConfig( "player_scale", scaleComment, false, 0.5, 0.1, 1.0 );
this.experienceReward = new GameStateIntegerConfig( "experience", expComment, 40, 80, 120, 4, 1000 );
this.treasureBagReward = new GameStateIntegerConfig( "treasure_bags", bagComment, 1, 1, 2, 1, 5 );
this.enchantedItems = new GameStateDoubleConfig( "enchanted_items", enchantComment, 0.125, 0.25, 0.5, 0.0, 1.0 );
this.armorChance = new GameStateDoubleConfig( "armor_chance", armorComment, 0.25, 0.5, 0.75, 0.0, 1.0 );
this.experienceReward = new GameStateIntegerConfig( "Experience", expComment, 40, 80, 120, 4, 1000 );
this.treasureBagReward = new GameStateIntegerConfig( "TreasureBags", bagComment, 1, 1, 2, 1, 5 );
this.enchantedItems = new GameStateDoubleConfig( "EnchantedItems", enchantComment, 0.125, 0.25, 0.5, 0.0, 1.0 );
this.armorChance = new GameStateDoubleConfig( "ArmorChance", armorComment, 0.25, 0.5, 0.75, 0.0, 1.0 );
this.group.addConfigs( this.availability, this.killRequirement, this.scaleWithPlayers, this.experienceReward, this.treasureBagReward,
this.enchantedItems, this.armorChance
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class GoldenBandageItem extends BandageItem {
protected final DurationConfig immunityDuration;

public GoldenBandageItem() {
super( "Golden Bandage", 1, Rarity.RARE );
super( "GoldenBandage", 1, Rarity.RARE );

String durationComment = "Duration in seconds of Bleeding Immunity effect.";
this.immunityDuration = new DurationConfig( "immunity_duration", durationComment, false, 90.0, 1.0, 600.0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class TamingCertificateItem extends InventoryItem {
protected final GameStateDoubleConfig horseBonusesMultiplier;

public TamingCertificateItem() {
super( "Certificate of Taming", "taming_certificate" );
super( "Certificate Of Taming", "taming_certificate" );

String dropComment = "Chance for Certificate of Taming to drop from taming animals.";
String healthComment = "Health multiplier when the animal is tamed.";
Expand Down

0 comments on commit 35a9f82

Please sign in to comment.