Valheim Wiki
Advertisement

This page contains all current combat mechanics and stats.

Damage[]

Damage is calculated with the following formula:

Note: Only players have armor.

Listed Damage[]

On the weapon tooltip the orange number shows the listed damage (before the yellow parentheses). Damage from bows is calculated from the sum of listed bow and ammo damage.

Some weapons have multiple types of damage (such as bows with their ammo or knives with both pierce and slash). In these cases, the resistances are applied separately to each damage type and then the armor is applied to the total damage.

For example 100 fire damage and 100 blunt damage with fire resist and 75 armor. First the resistance reduces fire damage to 50 and then 75 armor reduces the 150 total damage to 75. Final damage would be 25 fire and 50 blunt.

Minimum damage from a creature = sqrt(.75) * damage. This modifier should be applied to the damage before taking armor, blocking, and other modifiers into account.

Skill factor[]

On the weapon tooltip a damage range is shown in yellow parentheses. This is determined by the minimum and maximum value of the related skill factor multiplied with the listed damage.

  • Minimum damage increases linearly from 25% of weapon damage at skill level 0 to 85% of weapon damage at skill level 100.
  • Maximum damage increases linearly from 55% of weapon damage at skill level 0 to 100% of weapon damage at skill level 75 and above.

Consequently:

  • Average damage increases linearly from 40% of weapon damage at skill level 0 to 85% of weapon damage at skill level 75, and to 92.5% of weapon damage at level 100.

This correspond to a 1.5% increase of the average damage per level up to level 75, and 0.75% after.

Backstab bonus[]

Backstab bonus is applied when attacking unaware enemies. The damage multiplier is shown on the weapon tooltip (from 2x to 10x).

Backstabbing an enemy gives it a backstab immunity for 5 minutes. Players are immune to backstab.

Stagger bonus[]

Staggering is caused either by enough Staggering or by successfully parrying an attack. While staggered, the enemy is unable to act and takes double damage. Players can also get staggered but they won't take extra damage.

Staggering is caused by Physical and Lightning damage. Some secondary attacks cause increased Staggering.

Duration of the stagger is different for every enemy and depends on the animation speed.

Attack bonus[]

Weapons with an attack chain deal double damage on the third hit.

Most secondary attacks also deal increased or reduced damage (from 0.5x to 3x).

Enemies deal 4% more damage for each additional player within 200 meters of the target.

Multitarget penalty[]

If applicable for the attack type, hitting multiple entities reduces the damage of the attack. The damage multiplier can be calculated with

  • 2 targets: 66.7%
  • 3 targets: 44.4%
  • 4 targets: 33.3%
  • 5 targets: 26.7%

However the total damage will be 33.3% higher than when hitting a single target.

Trees, rocks, and ground also count as a valid target, even if not using tools that can damage them. This often causes reduced damage when attacking enemies on a higher ground. Pickaxes also deal reduced damage when the hitbox intersects the ground, even though hitting rock makes the ground unaffected by the pickaxe.

Most player weapons have the multitarget penalty; exceptions are Swords (one-handed primary attack), Clubs (two-handed), Polearms (secondary attack) and Axes (two-handed primary attack).

Most melee creatures do not have the multitarget penalty; exceptions include but not limited to: Greydwarfs, Skeletons, Wolves. Players can take advantage of this mechanic against these creatures. For example, to parry a strong attack that the player otherwise couldn't, by standing next to a tree to reduce the damage by 33%.

Damage Type Modifier[]

All attacks have a damage type. Enemies have weakness, resistance or immunity against different damage types. Players may also have weaknesses or resistances depending on their status effects and gear. The modifier for weakness and resistance is as follows:

  • Very weak: 200% damage
  • Weak: 150% damage
  • Neutral: 100% damage
  • Resistant: 50% damage
  • Very resistant: 25% damage
  • Immune: 0% damage

See Damage types for more info.

Armor[]

Armor reduces damage taken from all damage types. If armor is less than half of raw damage, health lost = damage - armor. But if armor is more than half of the damage, health lost = (Damage/(Armor*4))*Damage.

Code

Game code depicting how the damage taken is calculated.


Damage taken for a 100 damage hit

Graphic depicting the damage taken for a 100 damage hit with variable armor, meant to illustrate the point of diminishing returns.

The formula for "diminishing returns" is still fair from the perspective of effective HP. That is, the number of "hits" until death increases at the same rate, so each point of armor is worth as much as the next. The below table illustrates this:

Example of armor values with 100 hp and receiving 40 damage.
Armor Health Lost Hits until death
0 40 2.5
10 30 3.333
20 20 5
30 13.333 7.5
40 10 10
50 8 12.5
60 6.666 15

Blocking[]

Blocking reduces received damage by using the armor formula.

Blocking has some benefits over dodging:

  • Blocking uses less stamina (except when parrying).
  • Blocking doesn't require precise timing.
  • Parrying causes stagger which doubles the damage.

Dodging[]

Dodging turns the player briefly invulnerable allowing to ignore most sources of damage.

Dodging uses 15 Stamina multiplied by gear speed penalty. For example having -20% speed penalty would increase dodging cost to 18.

Dodging has some benefits over blocking:

  • No damage limit.
  • Works against multiple enemies with the same stamina usage.
  • Allows repositioning by choosing the direction.
  • Works against attacks from any direction.
  • Dodging works against most attacks that can't be blocked.
Advertisement