TieredZ

TieredZ

1M Downloads

Armor re-calculates?

Mudkipstalker opened this issue ยท 6 comments

commented

Sooo the title says it all. Getting hit makes the armor bar seem to recalculate the armor and toughness and all the other effects of the prefixes

commented

Should be fixed with the latest commits

Ah thank you, built the latest commit and it works. Keep up the hard and good work!

commented

Sooo bad idea trying it on a server LOL, i'll just wait for an Official update but it seems to be going along nice.
And the tooltips seem to not follow enchant updates either lol and this on the non-host end (just in-case it helps, posting this picture)
image

commented

Should be fixed with the latest commits

commented

What exactly are the issues?

commented

What exactly are the issues?

So the issue was, the armor recalculates when hit by anything and in the latest commit (like you said), yes it seemed to have fixed that, however, it caused other issues as you can see in the image above when non-host tries to join.

One other issue i can note about atm is that the Reforges/prefixes mess up enchants modifying the tooltip. (They still apply to the weapon but the tooltip doesn't reflect it when reforged and/or breaks it entirely

This should be 24 (+15% Damage)
image

Here's a normal Netherite Sword as a test
image
image
image

It seems if something modifys a stat on whatever is reforged that already has the stat (in this case a sword, modded or not) it stops visibly showing that the enchants are applied to the weapon but the enchants still function as normal.

image
(Just figured this out) It even applies to attack speed but this time nothing is modifying it but the reforge, however it still attacks with -25% instead of the so called -2.4 attack speed, so it seems the issue isn't just in the enchants visually, the reforges visually update the tooltip wrong anyways (IF it adds or subtracts to a stat that's already there.)

These are the issues i've found so far

commented

fixed it with 154e512