Even though the game has no locational damage, it's still silently keeping track of where your enemies hit you. Whatever armor you are wearing in whatever place they hit you (head, chest, hands, or feet), whatever armor type you were wearing there is what goes up.
It's the same way Oblivion did it.