# Damage Calculation

#1

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 …

Damage per tile
How to calculate the defense
Hero durability - statistics
No more silent nerfs
Upgrade Boldtusk now or Natalya later?
Calculations of attacks on enemies
Best snipers in the game?
How is Team power calculated?
:rice: Talents: defense points or health points?
Attack damage % question
Mechanics Questions
Please review Gobbler and his low defense
What does 100% damage mean?
Thoughts on Kage, guys?
Alliance Wars Matchmaking (Discussion & Developer Response)
What do stats do?
What do stats do?
Shout out to our Veterans of old
Can heroes be ranked objectively?
Let’s take a minute to appreciate Caedmon
Wrath of the Titans
Wu kong khiona and tarlak stacking
Khiona's special skill not working?
Wu Kong needs a new haircut (NERF WK?)
Pattern in the raids
A good use for Thorne?
TILES: Attack damage inflicted from tiles
Boldtuks attack buff not working with specials?
Need help calculating damage taken in raid
Favorite Hero Combos
Boomer holy defense not accurate
Just the place for a Snark! I have said it once
Flawed damage?
Questions about xp and heroes power
Is there a list of tile damage per heroe?
Descriptive Index of Empires & Puzzles Resources
Attack damage when hitting all targets
Empires & Puzzles RPG Quest (Bugs at ZERO poits) at Titans
Lianna and Wu Damage not Adding Up
Danni raid senza logica
How many tiles to remove tank
Analyse Heroes ala RedPython
Damage points
What does a percentage damage mean on a hero special?
Time for a big change - STOP Mono Colour
Gorilla (Blue Shield) – How does the defense buff work?
Alliance Wars Matchmaking (Discussion & Developer Response)
Alliance Wars Matchmaking (Discussion & Developer Response)
Damage calculation possible error
Damage calculation+
Zimkitha or Isarnia, which one should I fire off first?
Can classed wu kong beat Tarlak?
Deciding where to spend your class emblems - Tourney update 2019-Mar [Math, Analysis]
After upgrading 12 raids - 12 losses. WHAT IS IT LIKE?
Hero card showing stats with full leveled hero
What am I doing?
Thoughts on Kage, guys?
Thoughts on Kage, guys?
Athena vs strong color pulverizer
#2

Can you translate the three French parts?

Défense = Defense

Compétences Spéciales = ?

Tuiles = ?

#3

special abilities, tiles?

#4

Special skill / tiles

#5

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

#6

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.

Which attack special vs titans
What's better 4* 70/4 or 5* 60/3
#7

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]

Thoughts on Kage, guys?
#8

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.

Thoughts on Kage, guys?
Thoughts on Kage, guys?
#9

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% !!!

#10

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

#11

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

#12

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

#13

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

Mechanics Questions
Color Stacking: The Odds
Thoughts on Kage, guys?
#14

#15

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.

Question on hotm
#16

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 !

#17

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.

#18

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

#19

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

#20

@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