# Damage Calculation

After several months of statistical analysis of raid and AW fighting, here is my conclusion.
The damage can be estimated from the attack / defense ratio with a power function.

EDIT : After the post of RedPython, it made me think and I redid my calculations …
And finally, everything is clearer! all my previous calculations are merged into one formula, so I modified the original message. Again thank you @RedPython!

Damage ≈ 100 x ( θ x Att / Def ) ^ 1.35

Tile damage is divided by three
The defense of the team managed by the AI is increased by 20% (certainly only concerns PvP fights)
θ is a random parameter between exp(-.5)=0.606 and exp(.5)=1.649.

I have no way of being sure of the formula used by the game algorithm, but these estimates are reliable for the 1047 cases studied. They allow us to deduce interesting things.

As long as the attack is inferior to the defense, the damage is ‘compressed’ between 1 and 33 for the tiles and 1 and 100 for the special skills and attacks of the defenders.
On the other hand, once the attack is superior to the defense, the damage can fly away with no known maximum.
(This also explains the impression of ‘levels’ felt on the map and against the titans. Once our heroes have evolved so that their attack is superior to the opposing defense, everything becomes easier!)
Having several heroes of the same color only increases tile damage. They are calculated by adding the attacks of these heroes
Lowering the enemy defense is more effective than increasing the attack.
Combining defense penalties and attack bonuses has a devastating effect.

I hope they will not change the calculation right away …

148 Likes

Can you translate the three French parts?

Défense = Defense

Compétences Spéciales = ?

Tuiles = ?

special abilities, tiles?

1 Like

Special skill / tiles

That’s right. I replaced the graphic with the English version in the first post.

4 Likes

So, if I may, I want to check if I understand you (@SolemnWolf) right:
Attack is the Attack-Stat (including all bonuses from troops, color, …) of the attacking Hero?
Defence is the Defence-Stat (Shield) (again including all bonuses) or the defending Hero?
The ± 50% are taken from the ratio?

So, it seems, that for tiles the damage per tile is actually one third (maybe you’d like to try a factor of 33 instead of 30, although that might not make a big difference), because you need at least 3 tiles to “shoot”.
Very interesting. Big thank you to @SolemnWolf for sharing that information.

2 Likes

This is great. Thanks for putting in all the work to gather the data and approximate the function. It’ll be interesting to play with this in mind now. Makes sense why tactics like Wu Kong are so effective.

Semi-related note: Is a X% attack buff really a X^1.35 % damage buff? i.e. Kiril’s 30% attack buff is a 42.5% damage buff? Kiril’s 30% defense buff is a 30% damage decrease.[i.e. (1/1.3)^1.35]

1 Like

It’s almost that.
Attack is Attack-Stat of the attacker with all the bonuses, penalties and combos
Defense is Defense-Stat of the defender with all the bonuses and penalties
±50% is a random coefficient varying from 0.5 to 1.5 and applied to the Attack/Defense ratio
On the other hand, the effects of colors and critical hits are applied after the indicated calculation.
For the cases studied, critical hits only appeared for tiles and in less than 4% of cases.

2 Likes

That’s right @flyingsolow,
Att +30% = Damage +42.5%
Def -30% = Damage +60%
Att +30% & Def -30% = Damage +131%
Att +30% & Def -30% & Wu Kong = Damage +662% !!!

23 Likes

This information is amazing! Thank you for sharing. It must have been quite a bit of work to put this together :).

3 Likes

I think I understand but can you put some numbers behind this using a couple of heroes with like 3 tiles and a special skill

1 Like

Ahh, Thank you for pointing that out.
Again, @SolemnWolf, thank you so much for sharing this information.

1 Like

Examples of calculations

EDIT : The examples were taken again following the simplification of the first post

1. Defense

Attacker 1: Richard (Att=650)
Defender 1: Grimm (Def=600)
Calculated damage: 100x(650/600)^1.35=111 - Damage found: 112
Attacker 2: Elena (Att=788)
Defender 2: Zeline (Def=619)
Calculated damage: 100x(788/619)^1.35=139 - Damage found: 149

2. Special Skills

Attacker: Zeline (Att=724x154%=1108, the capture dates from before the reduction of Zeline’s special skill)
Defender 1: Richard (Def=783x120%=940, powerful attack)
Calculated damage: (100x(1108/940)^1.35)x2=250 - Damage found: 212
Defender 2: Elena (Def=578x120%=694)
Calculated damage:100x(1108/694)^1.35=188 - Damage found: 181
Calculated damage: 100x(1108/881)^1.35=136 - Damage found: 144
Defender 4: Domitia (Def=682x120%=818)
Calculated damage: 100x(1108/818)^1.35=151 - Damage found: 163
Defender 5: Vivica (Def=699x120%=839)
Calculated damage: 100x(1108/839)^1.35=146 - Damage found: 154

3. Tiles (1 hero of the attack color)

Forward: Wu Kong (Att=834)
Calculated damage: 1/3x100x(834/881)^1.35=31 - Damage found: 35 & 35 & 33

4. Tiles (2 heroes of the attack color)

Attackers: Kiril & Grimm (Att=(725 + 844)x1.1=1726)
Defender 1: Rigard (Def=733x120%=880)
Calculated damage: 1/3x100x(1726/880)^1.35=83 - Damage found: 98
Defender 2: Little John (Def=642x120%=770, weak attack)
Calculated damage: (1/3x100x(1726/770)^1.35)/2=50 - Damage found: 58
Defender 3: Gormek (Def=632x120%=758, powerful attack)
Calculated damage: (1/3x100x(1726/758)^1.35)x2=202 - Damage found: 206 & 218 & 203

42 Likes

1 Like

Yep. Critical hits only appear for tiles (~ 3.5% of cases) and have the same effects as a powerful color attack (x2 damage).
I have never had a powerful and critical color attack at the same time.

2 Likes

So having heroes with good defense and strong attack would be better ? What about heroes who have high attack power and low defense like Elena ? would it be worth it to fully level her up ? I think she’s the one red 5* who has strong power attack and low defense though if I don’t make mistake !

1 Like

Exceptional work @SolemnWolf. I look forward to seeing what further conclusions can be drawn.

Very interesting to see that lowering defence is more valuable than raising attack.

7 Likes

Isn’t crit chance dependant on troops? Also weak spot on titans always crits.

1 Like

I think weak spot on Titan does not always critic… I’m pretty sure!!!

2 Likes

@Paizo101, I do not think my work is a good starting point for choosing heroes.
The tactic is more important. For example, Elena’s special skill is very interesting.
Look at the side of this topic

2 Likes