0

I am using a Minecraft mod called armor curve which allows you to adjust the stats of armor. In the following formula, it makes durability based on remaining durablity. I would like to change this so it doesn't decrease as fast, but I am dumb so if anyone is good with math, help would be appreciated:

remaining/MAX(max,1)

where remaining is of course remaining durability, and MAX(max,1) is the whole durability (not sure why I need the (max,1) part but mod owner said I did.

I would like to have it decrease slower from a resulting 100% at 100% "remaining" to 50% result at 0% "remaining".

0

You must log in to answer this question.

Browse other questions tagged .