Damage: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(→‎Damage of creature stacks: , clearifactions (possibly) of att vs damage)
Line 5: Line 5:
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 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 [[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 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.  


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%).
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 attackers 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 ====  
Line 13: Line 17:


*'''2''' [[Naga]]s attack a stack of [[Pikeman|Pikemen]].  
*'''2''' [[Naga]]s attack a stack of [[Pikeman|Pikemen]].  
*The Nagas have a basic damage value of '''20''' and their Attack skill is '''16'''.  
*The Nagas have a single unit damage value of '''20''' and their Attack skill is '''16'''.  
*A Pikeman has '''10''' [[health]] and their Defense skill is '''5'''.
*A Pikeman has '''10''' [[health]] and their Defense skill is '''5'''.
*Basic damage done by the stack of Nagas is '''2 * 20 = 40'''.  
*The stack 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'''.  
*The Pikemen's Defense skill ('''5''') is subtracted from the Nagas' Attack skill ('''16'''), which gives us '''11''', giving the nagas a bonus.
*Thus, the damage is increased by '''5% * 11 = 55%'''.  
*(when the pikemen (attack points of 4) attack the nagas (sporting 13 points of defense), then 4-13 = -9 they will have a malus in dealt damage to consider).
*The total damage is '''40 * 1.55 = 62'''.  
*Thus, the damage is increased by (base percentage points of) '''5 * 11 '''(attack-defense difference, in this case positive)= '''55%''' increase, so the nagas through superior attack skill have '''155% damage''' on the pikemen stack.
*The total damage thus is '''40 * 1.55 = 62''' damage points.  
*'''6''' Pikemen will be killed, and the top Pikeman of the remaining stack will have '''8''' health left.
*'''6''' Pikemen will be killed, and the top Pikeman of the remaining stack will have '''8''' health left.



Revision as of 10:35, 17 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 attackers 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 single unit damage value of 20 and their Attack skill is 16.
  • A Pikeman has 10 health and their Defense skill is 5.
  • The stack 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, giving the nagas a bonus.
  • (when the pikemen (attack points of 4) attack the nagas (sporting 13 points of defense), then 4-13 = -9 they will have a malus in dealt damage to consider).
  • Thus, the damage is increased by (base percentage points of) 5 * 11 (attack-defense difference, in this case positive)= 55% increase, so the nagas through superior attack skill have 155% damage on the pikemen stack.
  • The total damage thus is 40 * 1.55 = 62 damage points.
  • 6 Pikemen will be killed, and the top Pikeman of the remaining stack will have 8 health left.

Damage of spells