Armor re-calculates?
Mudkipstalker opened this issue ยท 6 comments
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
Should be fixed with the latest commits
Ah thank you, built the latest commit and it works. Keep up the hard and good work!
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)
Here's a normal Netherite Sword as a test
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.
(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
fixed it with 154e512