Skip to content

Damage calculator.

#27
Auto-translated
Ihtiandr
Apparently, this isn't a bug, but rather a simple rounding up using the formula [integer part] + 1, without checking if the number is already an integer.
But in most cases, the game behaves as expected and rounds correctly.
Captain
if lurkers attack, increasing the attack of their hero increases the damage.
and there is no damage calculation if they attack in melee.
What's wrong with that? The damage of archers, like any other unit, depends on their attack, which in turn depends on the hero's attack.

The damage from a curved arrow/melee/through walls can be calculated, but it results in a lot of calculations. I need to think about how to incorporate this neatly.