Walls are repaired during battle using materials from other walls, allowing them to share their health.