Self-Repair

Resolved, closed or solved reported bugs.
Post Reply
User avatar
Hagbard
Community Vet
Posts: 127
Character: Adalrik

Self-Repair

Post by Hagbard » April 19th, 2021, 12:36 pm

On the subject of self-repair, I'm not sure it is working as expected.

This is what the UO Guide says
When an item takes damage, the Self Repair property adds durability equal to its intensity (so SR 1 would add one point, SR 5 would add 5 points.)
It then sets a timer, and Self Repair doesn't go off again on that item for 60 seconds, even if the item gets damaged again.

However, I think i've had the item damage within those 60 seconds and no repair happening, as well as the item repairing twice within the 60 seconds

Rex
Aeolian Staff
Posts: 253
Character:

Re: Self-Repair

Post by Rex » April 22nd, 2021, 1:22 am

For weapons
1. According to the code if you a flat 10% chance for this check to even start.
2. then with 1 Self Repair on a weapon you have a 10% chance per Hit to gain +2 durability, or it will lose 1 durability.

With 10 self repair the weapon would have a 100% chance to gain 2 durability.

For armor
1. According to the code if you a wide ranging % chance depending on armor type or if it is a shield for this check to even start.
2. then with 1 Self Repair on a weapon you have a 10% chance per Hit to gain +2 durability, or move on to step 3
3. A 50% chance to lose 1 durability.

With 10 self repair on armor would have a 100% chance to gain 2 durability.

All working as intended.

Post Reply