I have an idea for this mod, what if there was a potion that reduces how much damage you take. Like for example, players take *.* damage. I think that symbol represents the infinite symbol and if that potion exists, if we would give ourselves that potion with the amplifier 255 we would take 50 damage and that would be the max damage we would take for players. Because players take infinite damage and the resistance potion wouldn't save us from taking infinite damage.
Also, does the potioncore.damageResistance attribute reduce your damage? And if so, if we would set it to the max value, would the max damage players would take be 50 damage or less? That's my idea and if you can't add this its fine.