Damage: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(→‎Damage of creature stacks: , clearifactions (possibly) of att vs damage)
(→‎Example: , pikemen attacking nagas)
Line 20: Line 20:
*A Pikeman has '''10''' [[health]] and their Defense skill is '''5'''.
*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 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.
*The Pikemen's Defense skill ('''5''') is subtracted from the Nagas' Attack skill ('''16'''), which gives us '''11''', giving the nagas a percentage point multiplication 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.   
*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.  
*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.
When the remaining (if any) '''pikemen''' (attack points of 4) '''attack''' the '''nagas''' (sporting 13 points of defense):
*-45% damage would be dealt by the pikemen to the 5 creature level higher naga chimera stack.
*The '''difference''' between the pikemens attack ('''4''') and the nagas defense ('''13''') would mean '''9 mulitiplier malus points''' with a malus/bonus point being 5 discrete % points to be summed up as absolute value and calculated as ratio to the damage that the stack deals.
*'''resulting in''' ((4-13)*5)%, '''45% less damage''' than the pikemen originally have.


=== Damage of spells ===   
=== Damage of spells ===   

Revision as of 10:56, 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 percentage point multiplication bonus.
  • 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.


When the remaining (if any) pikemen (attack points of 4) attack the nagas (sporting 13 points of defense):

  • -45% damage would be dealt by the pikemen to the 5 creature level higher naga chimera stack.
  • The difference between the pikemens attack (4) and the nagas defense (13) would mean 9 mulitiplier malus points with a malus/bonus point being 5 discrete % points to be summed up as absolute value and calculated as ratio to the damage that the stack deals.
  • resulting in ((4-13)*5)%, 45% less damage than the pikemen originally have.

Damage of spells