Damage
Damage is term for how much health loss a creature or a spell can cause to a creature stack.
Damage calculation
Damage of creature stacks
The base damage calculation is rather simple. It is calculated by multiplying the damage dealt by creatures in a stack with the number of creatures in the stack. Typically creatures have interval between the minimum and the maximum damage. Creatures in a stack do individual damage, meaning that every creature's damage is randomly chosen.
In order to determine the final damage of a creature stack, the main factors are attack and defense skills of both heroes and creatures. The attack and defense values of the hero are added to attack and defense skills of all the creatures in the hero's army. When a creature stack attack, its combined attack skill is compared to defending creatures combined defense skill, which is typically called attack-to-defense-ratio or just simply A/D.
The attacking creature receives +5% bonus to its normal damage (100%) for every attack skill point greater than the defenders defend value.
However, this bonus can only rise up to 300%, which means that the greatest positive A/D-ratio that matters is 60 (60*5%=300%). That causes the creature stack to do quadruple damage (100%+300%=400%).
If the A/D-ratio is negative, meaning that the attackers attack skill is smaller than the defenders defense skill, then the attacking creature receives -2,5% reduction to its normal damage (100%) for every attack skill point smaller than the defenders defense value. However, this reduction can only be -27,5%, which means that the greatest negative A/D-ratio that matters is -11 (-11*-2,5%=27,5%).
Example
No heroes are assumed to be present in the battle.
- 2 Nagas attack a stack of Pikemen.
- The Nagas have a single unit damage value of 20 and their Attack skill is 16.
- A Pikeman has 10 health and their Defense skill is 5.
- The stack damage done by the stack of Nagas is 2 * 20 = 40.
- The Pikemen's Defense skill (5) is subtracted from the Nagas' Attack skill (16), which gives us 11, giving the nagas a bonus.
- (when the pikemen (attack points of 4) attack the nagas (sporting 13 points of defense), then 4-13 = -9 they will have a malus in dealt damage to consider).
- Thus, the damage is increased by (base percentage points of) 5 * 11 (attack-defense difference, in this case positive)= 55% increase, so the nagas through superior attack skill have 155% damage on the pikemen stack.
- The total damage thus is 40 * 1.55 = 62 damage points.
- 6 Pikemen will be killed, and the top Pikeman of the remaining stack will have 8 health left.