**TL;DR : yes**, but there are some cases when It's not possible to "merge" the attack.

Correct me if I'm wrong, but the bonus attack only applies to the specific matching targets, and it is a different attack than the first one.

For example imagine your hero has 50atk + 12 VS siege, and is attacking solo a living unit and a siege weapon.

Now, during one round, your hero may attack the living unit. Therefore the unit will receive the 50atk. However because it is not a siege unit, the bonus damage won't apply.

BUT

The bonus atk will try to find another valid target for the attack. So because the siege weapon is in range, your bonus atk will target that siege weapon. (It's like your hero attacked 2 different units)

Now, if indeed the bonus attack targets the same unit as the main attack, it would be more profitable to "merge" the attacks into one with the sum of the base atk and the bonus atk

To be really sure, we would need to compute some derivative... I don't have the exact formula of damage = f(atk, armor) (just realized the one I had wasn't exactly the right one), but mine seems to be still a good approximation, and the derivative would be

d(dmg)/d(atk) = (atk + ln(2)*armor) / ( atk*2^(-atk/armor) )

It's not very obvious with this formula (and anyway I believe it's chinese for most of you), but looking at a graph, it is clearly obvious that what you say is correct ^^. Indeed it would be more profitable to have a single attack rather than 2 different attacks.

Edited by
Startouf
4 years ago.