Skip to content

Commit

Permalink
Update armor attribute defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltMolnarrr committed Jun 25, 2024
1 parent cc82a45 commit 277e3a5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.2.3

- Update armor attribute defaults
- Update Russian translation, thanks to Alexander317

# 1.2.2

- Update Crusader Armor texture
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/paladins/PaladinsMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class PaladinsMod implements ModInitializer {
public static final String ID = "paladins";

public static ConfigManager<ItemConfig> itemConfig = new ConfigManager<>
("items_v4", Default.itemConfig)
("items_v5", Default.itemConfig)
.builder()
.setDirectory(ID)
.sanitize(true)
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/net/paladins/item/armor/Armors.java
Original file line number Diff line number Diff line change
Expand Up @@ -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))
)
)
Expand Down

0 comments on commit 277e3a5

Please sign in to comment.