From 277e3a5289ba8cc45b63ec6dcd3f1fbd0bb5a9e8 Mon Sep 17 00:00:00 2001 From: Zsolt Molnar Date: Tue, 25 Jun 2024 22:31:38 +0200 Subject: [PATCH] Update armor attribute defaults --- CHANGELOG.md | 5 +++++ gradle.properties | 2 +- src/main/java/net/paladins/PaladinsMod.java | 2 +- src/main/java/net/paladins/item/armor/Armors.java | 8 ++++---- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46670d3..3893200 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 1.2.3 + + - Update armor attribute defaults + - Update Russian translation, thanks to Alexander317 + # 1.2.2 - Update Crusader Armor texture diff --git a/gradle.properties b/gradle.properties index 55f9837..ee17791 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ fabric_api_version=0.87.0+1.20.1 # Mod maven_group=net archives_base_name=paladins -mod_version=1.2.2 +mod_version=1.2.3 # Dependencies trinkets_version=3.7.2 diff --git a/src/main/java/net/paladins/PaladinsMod.java b/src/main/java/net/paladins/PaladinsMod.java index 7b823a5..e6a0e27 100644 --- a/src/main/java/net/paladins/PaladinsMod.java +++ b/src/main/java/net/paladins/PaladinsMod.java @@ -30,7 +30,7 @@ public class PaladinsMod implements ModInitializer { public static final String ID = "paladins"; public static ConfigManager itemConfig = new ConfigManager<> - ("items_v4", Default.itemConfig) + ("items_v5", Default.itemConfig) .builder() .setDirectory(ID) .sanitize(true) diff --git a/src/main/java/net/paladins/item/armor/Armors.java b/src/main/java/net/paladins/item/armor/Armors.java index c478715..07ea3e4 100644 --- a/src/main/java/net/paladins/item/armor/Armors.java +++ b/src/main/java/net/paladins/item/armor/Armors.java @@ -64,13 +64,13 @@ private static Armor.Entry create(Armor.CustomMaterial material, ItemConfig.Armo () -> { return Ingredient.ofItems(Items.GOLD_INGOT); } ), ItemConfig.ArmorSet.with( - new ItemConfig.ArmorSet.Piece(2) + new ItemConfig.ArmorSet.Piece(3) .addAll(ItemConfig.Attribute.bonuses(List.of(SpellSchools.HEALING.id), 1)), - new ItemConfig.ArmorSet.Piece(6) + new ItemConfig.ArmorSet.Piece(8) .addAll(ItemConfig.Attribute.bonuses(List.of(SpellSchools.HEALING.id), 1)), - new ItemConfig.ArmorSet.Piece(5) + new ItemConfig.ArmorSet.Piece(6) .addAll(ItemConfig.Attribute.bonuses(List.of(SpellSchools.HEALING.id), 1)), - new ItemConfig.ArmorSet.Piece(2) + new ItemConfig.ArmorSet.Piece(3) .addAll(ItemConfig.Attribute.bonuses(List.of(SpellSchools.HEALING.id), 1)) ) )