Damage: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Line 3: Line 3:
== Damage calculation ==
== Damage calculation ==
=== Damage of creature stacks ===
=== Damage of creature stacks ===
The main factors in the calculation for the final damage of a creature (stack) are [[Primary skill#Attack_skill|attack]] and [[Primary skill#Defense_skill|defense]] skills of [[hero]]es and [[creature]]s involved in [[combat]]. Hero's attack and defense are added to attack and defense of every creature under his command.  
The base damage calculation is rather simple. It is calculated by multiplying the damage dealt by creatures in a stack with the number of creatures in the stack. Typically creatures have interval between the minimum and the maximum damage. Creatures in a stack do individual damage, meaning that every creature's damage is randomly chosen.


The basic damage is calculated by multiplying the damage dealt by creatures in a stack with the number of creatures in the stack. Typically creatures have interval between the minimum and the maximum damage. Creatures in a stack do individual damage, meaning that every creature's damage is randomly chosen.
In order to determine the final damage of a creature stack, the main factors are [[Primary skill#Attack_skill|attack]] and [[Primary skill#Defense_skill|defense]] skills of both [[hero]]es and [[creature]]s. The attack and defense values of the hero are added to attack and defense skills of all the creatures in the hero's army. When a creature stack attack, its combined attack skill is compared to defending creatures combined defense skill, which is typically called attack-to-defense-ratio or just simply A/D. The attacking creature receives +5% bonus to its normal damage (100%) for every attack skill point greater than the defenders defend value. However, this bonus can only rise up to 300%, which means that the greatest positive A/D-ratio that matters is 60 (60*5%=300%). That causes the creature stack to do quadruple damage (100%+300%=400%).


In [[combat]], a [[damage]] bonus is added/subtracted to every attack depending on the difference between the attacker's [[Attack]] and the defender's Defense. If the attacker's Attack is higher, then damage is increased by 5% per point of difference (up to a maximum of '''400%''', meaning the greatest difference that matters is '''60'''). If the Attack skill is lower, then damage is reduced by 2,5% per point of difference (to a minimum of '''30%''', making the greatest difference that matters '''15'''). The resulting number is the amount of inflicted damage.
If the A/D-ratio is negative, meaning that the attacekrs attack skill is smaller than the defenders defense skill, then the attacking creature receives -2,5% reduction to its normal damage (100%) for every attack skill point smaller than the defenders defense value. However, this reduction can only be -27,5%, which means that the greatest negative A/D-ratio that matters is -11 (-11*-2,5%=27,5%).


==== Example ====  
==== Example ====  

Revision as of 23:06, 15 January 2014

Damage is term for how much health loss a creature or a spell can cause to a creature stack.

Damage calculation

Damage of creature stacks

The base damage calculation is rather simple. It is calculated by multiplying the damage dealt by creatures in a stack with the number of creatures in the stack. Typically creatures have interval between the minimum and the maximum damage. Creatures in a stack do individual damage, meaning that every creature's damage is randomly chosen.

In order to determine the final damage of a creature stack, the main factors are attack and defense skills of both heroes and creatures. The attack and defense values of the hero are added to attack and defense skills of all the creatures in the hero's army. When a creature stack attack, its combined attack skill is compared to defending creatures combined defense skill, which is typically called attack-to-defense-ratio or just simply A/D. The attacking creature receives +5% bonus to its normal damage (100%) for every attack skill point greater than the defenders defend value. However, this bonus can only rise up to 300%, which means that the greatest positive A/D-ratio that matters is 60 (60*5%=300%). That causes the creature stack to do quadruple damage (100%+300%=400%).

If the A/D-ratio is negative, meaning that the attacekrs attack skill is smaller than the defenders defense skill, then the attacking creature receives -2,5% reduction to its normal damage (100%) for every attack skill point smaller than the defenders defense value. However, this reduction can only be -27,5%, which means that the greatest negative A/D-ratio that matters is -11 (-11*-2,5%=27,5%).

Example

No heroes are assumed to be present in the battle.

  • 2 Nagas attack a stack of Pikemen.
  • The Nagas have a basic damage value of 20 and their Attack skill is 16.
  • A Pikeman has 10 health and their Defense skill is 5.
  • Basic damage done by the stack of Nagas is 2 * 20 = 40.
  • The Pikemen's Defense skill (5) is subtracted from the Nagas' Attack skill (16), which gives us 11.
  • Thus, the damage is increased by 5% * 11 = 55%.
  • The total damage is 40 * 1.55 = 62.
  • 6 Pikemen will be killed, and the top Pikeman of the remaining stack will have 8 health left.

Damage of spells