OpenMW must take into account armor condition
OpenMW takes into account weapon condition ("code fragment":https://github.com/OpenMW/openmw/blob/136ef1f738b84db1be424be412e45532fdeecf8b/apps/openmw/mwmechanics/combat.cpp#L356). However, the condition of armor should also be taken into account when calculating the overall armor rating (see "here":http://elderscrolls.wikia.com/wiki/Armorer_(Morrowind) and "here":http://en.uesp.net/wiki/Morrowind:Armorer 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.
(RM-4246 from redmine: created on 2017-12-06 by Vladimir Ulisko, , closed on 2017-12-09 by Andrei Kortunov)
Edited by redmine