In the thread in which this was brought up, it was speculated that it had something to do with fixing the inverted luck influence on fireproof blankets being destroyed:
Originally Posted by grobblewobble
I wonder if this has anything to do with taking the luck bonus into account properly. Luck used to make fireproof blankets more likely to burn but that got fixed, maybe this was part of the same fix?
Just one question - how were they fixed? I have just broken (pre18) a pack of wands, and lost/broke few of keys during my gameplay, so it is not that they were unbreakable.
Just one question - how were they fixed? I have just broken (pre18) a pack of wands, and lost/broke few of keys during my gameplay, so it is not that they were unbreakable.
They were added to a function that checks if items can be broken at all. This was used in more places than before (after fixing issue issue 1698) and items like the pick axe or hatchet were ignored, so they couldn't break.
So you are right that keys and wands could break before this bugfix, but for example they were never generated with "broken" status or couldn't break when reading a cursed scroll of repair.