Bug when adding health boost to armor
MCEventHorizon opened this issue ยท 8 comments
Affected Versions (Do not use "latest")::
- ArmorPlus: 1.12.2-2.0.0.2
- TheDragonLib: 1.12.2-5.3.0
- Minecraft: 1.12.2
- Forge: 14.23.5.2811
- (Optional) Just Enough Items (JEI):
- (Optional) Tinkers' Construct:
- (Optional) CraftTweaker (CrT):
Affected Side (Client or Server):
- [yes ] Client
- [yes ] Server
What happens: If I add health boost to armor effects, the effect will tick down to 0 and remove extra hearts then add them again once the effect restarts.
What you expected to happen:: I thought that it was gonna be like night vision where the effect doesn't tick down, it should not remove the extra hearts when it reaches 0 and restarts the effect.
If its a crash, post your crash report (via. pastebin/gist/etc):
Your configuration files from config/armorplus/
(registry.cfg
mainly):
(Optional) Mod List:
you use an Ancient version of the mod, heck that version doesn't even exist
Where did you download the mod from @MCEventHorizon ?
I'm terribly sorry, but I cannot seem to find a way to "fix it" in a "friendly" way without causing other issues.
thing is, it user set effect, by default not "supported".
But yes, modifying the attribute modifiers to the player would be one way, but it could be too costly to do so. Will see if I would be able to "suppress" the chances of it breaking.
Think using a Attribute Modifier would work instead of the Health Boost Potion effect? Since when the Health Boost Potion effect refreshes it resets your health back, much like in the GIF.
EDIT
...erm, I only see Speed II on my end so I might've misread. I guess you can add in Potion effects via a config? I wonder if Attribute Modifiers could be added in. Like if instead of 'speed' I put in "generic.movementSpeed" and put down the operation & amount and when I wear that piece of armor I will get it's effect.