How does bonus damage works?

The damage dealt depends on the bonuses offered by technologies and heroes' skills, but these bonuses do no not just sum up. The resulting damage is calculated by a special formula, which makes the outcome damage the most fair and balanced.