Page 1 of 1

[0.10.21] Armor That Breaks While Equipped, Increased Armor Persists [RESOLVED 0.10.22]

Posted: Thu Mar 12, 2020 2:46 am
by Magicono43
**Describe the bug**
If armor you have equipped breaks due to condition value going to 0, the item will be unequipped, but the armor that piece provided will persist on your character. You can even wear another piece where the old piece was and increase armor further. This does not persist through save-games, so if you save and reload with this bugged armor value, it will be removed when you load the save.

**To Reproduce**
Steps to reproduce the behavior:
-This was discovered while playing around with a mod that alters how much condition damage items take from being hit, so this is somewhat difficult to reproduce in Vanilla.

-Best bet is to figure out a quick way to reduce an equipped armor item's condition damage to 0, and you will see the broken item is removed, but the armor that it provided is still around and can be stacked with other items. (I can upload a .dfmod that helps with this if somebody needs that to reproduce.)

**Expected behavior**
Broken item should be unequipped upon breaking, and the armor it provided should go back down to 0/naked protection again.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: Windows
- Version: alpha 0.10.21

**Additional context**
Just a hunch here, but this may have similar origin to this other bug as well. viewtopic.php?f=24&t=3491

Re: [0.10.21] Armor That Breaks While Equipped, Increased Armor Persists

Posted: Thu Mar 12, 2020 9:14 am
by Hazelnut
Thanks this and the other bug should be fixed by PR#1751

Re: [0.10.21] Armor That Breaks While Equipped, Increased Armor Persists

Posted: Thu Mar 12, 2020 1:07 pm
by Magicono43
Hazelnut wrote: Thu Mar 12, 2020 9:14 am Thanks this and the other bug should be fixed by PR#1751
Awesome, was worried it was going to be really hard to pin-point, but apparently not.

Re: [0.10.21] Armor That Breaks While Equipped, Increased Armor Persists

Posted: Fri Mar 13, 2020 12:08 am
by Interkarma
Thank you Hazelnut for looking into this and fixing so quickly. We're lucky to have you. :)

Re: [0.10.21] Armor That Breaks While Equipped, Increased Armor Persists

Posted: Sun Apr 05, 2020 3:46 pm
by pango
This should be fixed in 0.10.22