Building:Town wall

## Description

The **Town wall** is a building that protects your citizens against your enemies and the sun. Beware! Enemies will try to tear holes in your wall or to climb over it. Every level increases the resistance of your Town wall.

## The Town wall in battle

When your city is attacked your wall is the first line of defense. Your wall occupies the front line of combat protecting your army and citizens until your opponent breaches the wall. While protected by the wall your Long-Range Fighter, Artillery, and Air units can engage the enemy. Your wall will also engage your enemies front line, with its own attacks.

All wall sections have their own Hit points , Attack points and Armor points .

1. Every time you increase your Wall's level, it will gain an additional 50  hit points as well as an additional 4  armor points.
2. Your wall gains additional damage points  per each level of increase. However, your wall will make significant gains in its damage points at levels 10 and 20.
3. Your wall's accuracy  will increase at levels 10 and 20 only.

As your enemy breaches a wall by doing enough damage to a section, your front line will fill in with heavy infantry. Once the entire wall is breached, flankers will engage each other. In the case that one side has no flankers or all flankers have been killed, the other side's flankers will now be able to slaughter the enemy's long-range fighter and then artillery. The number of sections of your wall is determined by the size of your Town hall.

* If a city has **no** units capable of filling in the front line, heavy infantry, light infantry, or long-ranged fighters, stationed in it when it is attacked or they have all died and the wall is still whole then the attacking army can pillage or occupy the town as soon as they create a **single breach** in the wall.

## Garrison limit

Main article: Garrison Limit
The **Town wall** contributes to your Land Garrison Limit.

Every level of the Town wall provides **+50** spaces for your land units.
## Expansion Details

The time (in seconds) it takes to upgrade to the next level is determined by the following formula:

# Building time (seconds)

[

57
,
600

11

×

1.1
Level

−
3
,
240

]

{\displaystyle { \text{Building time (seconds)} = \left \lbrack \cfrac{57,600}{11} \times 1.1^\text{Level} - 3,240\right \rbrack }}

Level 1 does **not** follow this formula, as its build time was shortened by **40 minutes 30 seconds (2,430s)**
when it was added to the in-game tutorial.

The accumulative time (in seconds) it takes to upgrade up to the next level is determined by the following formula:

# Accumulative building time (seconds)

[

57
,
600
×

(

1.1
Level

−

1

)

−
3
,
240
×
Level

]

−
2
,
430

{\displaystyle { \text{Accumulative building time (seconds)} = \left \lbrack 57,600 \times \left (\ 1.1^\text{Level} -\ 1\ \right ) - 3,240 \times \text{Level}\right \rbrack - 2,430}}

Level 1 **does** follow this formula.
For information about the coefficients of formulas: see Construction Time

Due to the large number of templates used to display the information on this building, we are breaking this building's expansion levels down into groups of 8, instead of the normal grouping of 10.

* 0-8
* 9-16
* 17-24
* 25-32
* 33-40
* 41-48