Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

11M Downloads

Config to modify armor values for armor sets

Silvertide7 opened this issue · 3 comments

commented

Feature description

Allow config options to configure the armor values that the armor sets in the game give. Currently the armor sets give way too much armor for how much value they give, and there's no reason not to use another armor set.

How it improves the player experience

This would help mod pack makers out a lot. Currently the end game armors give the same armor value as netherite gear, plus a bunch of other better stats. There's no reason to use netherite gear at all at this point. It would be really great to be able to customize that and lower the armor so there are trade offs / choices to make for the player.

commented

will continue tracking this issue in #310

commented

I second this . Robes that give as much protection as any other heavy armor is completely unbalanced for any RPG modpack . It should not only have a config option, but the default values should also be significantly reduced .

commented

I ended up implementing this myself with CraftTweaker. If you download CraftTweaker and make a file say scripts/armor.zs, then put

<item:irons_spellbooks:plagued_helmet>.anyDamage().addGlobalAttributeModifier(<attribute:minecraft:generic.armor>, "2ad3f246-fee1-4e67-b886-69fd380bb150", "Armor modifier", 2, AttributeOperation.ADDITION, [<constant:minecraft:equipmentslot:head>]);

It will change the armor value of the plaqued helmet to 2.
Since you are overriding an existing attribute on the armor you will need to use the correct UUID (that one should work I think unless they are randomly generated on load).
To verify, get the plagued helmet in your hand, type /ct hand attribute and check the armor entry. It will have a UUID there that you will copy and past in it's spot.

If you're not familiar with UUID's, its the long crazy string "2ad3f246-fee1-4e67-b886-69fd380bb150"