Skip to content

Damage calculator.

User Avatar
#71
Auto-translated
1234ru
Hey guys, I have a question about damage calculation. I didn't want to start a separate thread, so I'm posting it here.

HotA v.1.6.1.

23 Cyclops are attacking (damage 16-20, attack 15).

The hero has an attack of 18 and Expert Ranged Attack (50%) + two artifacts that boost it (5% + 15%), so the total ranged attack modifier is 70%.

They are being defended by Nix Warriors (defense 17, they ignore 60% of the attacker's attack). They don't have a hero.

The terrain is neutral for both sides.

I'm calculating the damage:

Total attack of the attacking creatures and the hero: 15+18=33
Attack with the Nix Warriors' modifier: 33*(1-0.6)=13.2
Final attack and defense difference (diff): 13.2-17=-3.8

I'm calculating the multiplier for the base damage using the formula:

1 + 0.025*diff + ranged attack

It turns out: 1+0.025*-3.8+0.7=1.605

Base damage of 23 Cyclops: 368 - 460

With the multiplier: 590 - 738.

But the game shows 562 - 703.

Can you tell me where the error is in my calculations?
The ranged attack parameter increases the damage from ranged attacks by 50%.
In your case, the damage is 1-0.025*4 (I think there's rounding here).
And then you increase this value by 70%.
0.9*1.7=1.53

Multiply by this coefficient and everything matches.

P.S. I might be wrong somewhere, but I think it works like this. Specifically, when the defense value is higher than the attack