OpenMW must take into account armor condition
OpenMW takes into account weapon condition (code fragment). However, the condition of armor should also be taken into account when calculating the overall armor rating (see here and here for details):
Damaged armor provides less protection against attacks.
To reproduce do this:
- player->setUnarmored 5
- player->setLightArmor 100
- player->setMediumArmor 100
- player->setHeavyArmor 100
- Wear any armor.
- Monitor armor rating in inventory window during battle or casting Disintegrate Armor spell on self.
As result, armor is damaged, but the overall armor rating remains unchanged.
I'm testing OpenMW version 0.43.