Defensive buildings are effective measures that can pose a great threat to invaders. Your wall and city have 9 building slots for defensive buildings. To build more, you can upgrade the city walls.
Defensive buildings have a certain amount of Durability that can be reduced after each battle, reducing Power. When Durability hits 0, a defensive building will lose all Power and be destroyed.