What is the formula to determine how much damage is done to a castle wall in a siege? Some forts seem impentetrable. The enemy camps outside the walls, sieging them, but they are just too thick. Do the walls get repaired at a rate proportional to the damage they take?