devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

Bugfix: Items over 255 durability

Open kphoenix137 opened this issue 2 years ago • 4 comments

Some items with the of Structure power can exceed 255 durability, causing the item to drop to a low durability when regenerated. This clamps the bonus given from the affix so that it doesn't exceed 255.

kphoenix137 avatar Feb 08 '23 05:02 kphoenix137

Should it not be clamped to 254?

AJenbo avatar Sep 30 '23 22:09 AJenbo

Hm, maybe yes, if you assume #5772 won't be merged any time soon. I was kinda hoping it was close to ready, though I can't say I know what we should do about Oil of Permanence.

StephenCWills avatar Sep 30 '23 22:09 StephenCWills

approved, when merge?

kphoenix137 avatar Mar 24 '24 02:03 kphoenix137

approved, when merge?

See previous comments, or the one I just made.

AJenbo avatar Sep 15 '24 12:09 AJenbo