Defense and Attack

## Overview

At the moment that the attacking troops enter the building, the following indicators are taking into account:

* The number of troops in the building (Du) – can be a fraction/decimal
* The number of troops attacking the building (Au)
* Protection index of the defender – a number created by multiplying all other defense factors
* Attacker’s attack index – a number created by multiplying all attack factors

It is easy to figure out the amount of troops in your building, as you can clearly see it in the number displayed outside your building.

Figuring out how many troops are in the enemies building is a bit more difficult, but not impossible. You could always play Marty-O and use his 1st skill, but it is better to learn make an educated guess and have an approximate number in the back of your mind.
It is always easier to attack a building with less troops rather than one with more.

Attacking troops come in certain “waves”.

## Defense

* The protection index (d) is obtained by multiplying the following factors:
* The protection index of the particular building
* The morale defense index of the defender
* The defense index for the number of forges the defender has
* Some abilities

## Attack

* The attack index (a) is obtained by multiplying the following factors:
* The morale attack index of the attacker
* The attack index for the number of forges the attacker has
* Some abilities (like Ayner 3rd)

## The Formula of Fights

The calculation for the number of units destroyed in the building (Bu) can be found using this formula:

* Bu – Number of destroyed units in the building
* a – total attack index
* b – total defense index
* Wu – number of troops in a wave (number of troops entering the building)

After calculating the number of units destroyed (Bu), the game will subtract the number of units in the house (Du) by the number of units destroyed (Bu). After that, there are 2 possible outcomes:

* The number of troops in the house is greater to or equal to 0 (positive), meaning the attack has failed and the building and then units within are still under the control of the defending player. The player keeps the positive number of units

* The number of troops in the house is then less than zero (negative), the attack is successful. The attack then gains control of the building, and the remaining number of units (that would be that negative number, but positive)

If the attack is successful, the level is reduced by 1 level (if the building is a tower or village), but if you retake it within 1 second, you can take it without it losing the next level down, and if they take it within a second, it also doesn’t go down a level, and so forth.

Before you go and attack, you should figure out how much attack you have, as well as how much defense your opponent has.
 The more attack you have, and the less defense your opponent has, the more likely your attack will succeed.

Also realize that your attack comes in waves, and those waves don’t all hit the enemy village at once.
The longer the attack goes on, the more time a village has to regenerate units, a tower has to shoot down units, and a opponent has to reinforce the building.

For you to have the best chance of having a successful attack, you want to have as many units as you can attack a building in as little time as possible.
This is why attacking with many villages and snaking is effective.