1# Repair 2 3[Source](https://www.youtube.com/watch?v=YyBFtDrrpg4) 4 5Buildings, siege weapons and ships can be repaired by villagers. 6 7## Speed 8 9Buildings are repaired at the base repairing speed of **750 hp/min** which is not affected by the total hp of the building/unit. 10 11Siege weapons and ships are repaired at **25%** of the base speed (188 hp/min). 12 13After the first villager, each villager repairs at **50%** of the base speed (375 hp/min for building and 188 hp/min for siege weapons and ships). 14 15## Cost 16 17For each hp repaired, resources equal to the half of corresponding build cost are deducted. 18 19``` 20(repair 1 hp cost) = 0.5 * (build cost) / (build max hp) 21``` 22 23## Exceptions 24 25* Town center repair costs **twice** as much wood and not half. It also costs no stone except in Dark Age. [Source](https://youtu.be/7cpbi4V41ig?t=4m3s) 26 27## Math 28 29``` 30750 hp/min = 750/60000 hp/msec = 0.0125 hp/msec => 80 msec/hp 31``` 32