Magic resistance is an attribute of heroes, similar to armor. Instead of reducing physical damage, it reduces magical damage. All heroes, except for Meepo and Visage, possess Expression error: Unrecognized punctuation character "{".% magic resistance from their armor type. This percentage is completely independent of their amount of armor. Certain hero summons, such as Enigma's Eidolons, also possess intrinsic magic resistance.
Magical damage
Magical damage is a type of damage caused mostly by abilities. Unlike physical damage, it is not affected by armor. However, it is affected by magic resistance dealing more or less damage, depending on the unit's current magic resistance. Besides magic resistance, magical damage, just like physical and pure damage, is also affected by damage manipulation.
Mechanics
All heroes have a basic Expression error: Unrecognized punctuation character "{".% magic resistance, except for Meepo and his clones, who have Expression error: Unrecognized punctuation character "{".%, and Visage, who has Expression error: Unrecognized punctuation character "{".%. This means that, by default, for most heroes, all magical damage is reduced by Expression error: Unrecognized punctuation character "{".%, or only Expression error: Unrecognized punctuation character "{".% of the ability's damage is dealt. Most non-hero units have a 0% base magic resistance.
Stacking
There are many abilities and items which can increase or decrease a unit's magic resistance. All sources of magic resistance bonuses and reductions stack diminishingly. This means a unit's magic resistance value changes less, the higher its magic resistance is, and more, the lower it is.
Formula
For total magic resistance of a unit (multiply the result by 100 to get the percentage value):
- Total magic resistance = 1 − ((1 − natural resistance) × (1 − first resistance bonus) × (1 − second resistance bonus) × (1 + first resistance reduction) × (1 + second resistance reduction))
For magical damage after magic resistance:
- Actual damage = magical damage × (1 − natural resistance) × (1 − first resistance bonus) × (1 − second resistance bonus) × (1 + first resistance reduction) × (1 + second resistance reduction)
Example:
- Anti-Mage with level 4 Spell Shield and a Cloak has a magic resistance of:
- 1 - (1 - {{#show:Anti-Mage|?magic resistance#}}) × (1 - Expression error: Unexpected / operator.) × (1 - Expression error: Unrecognized punctuation character "{".) = Expression error: Unrecognized punctuation character "{".%
- Visage under the effect of Veil of Discord and a level 4 Decrepify cast by an enemy has a magic resistance of:
- 1 - (1 - {{#show:Visage|?magic resistance#}}) × (1 + Expression error: Unrecognized punctuation character "{".) × (1 + Expression error: Unexpected / operator.) = Expression error: Unrecognized punctuation character "{".%
As one can conclude, it is not possible to reach 100% magic resistance, no matter how many sources are stacked or how much the sources grant or reduce. However, there are several abilities which grant 100% magic resistance. Because of the stacking rules, these abilities prevent a unit's magic resistance to be reduced or increased, as the formula will always result in 100%, no matter how big the magic resistance bonus or reduction.
Effective HP
Despite each source of magic resistance increasing the magic resistance value less the higher it is and making them seem less effective, each sources increases the unit's effective HP against magical damage by their base value. Effective HP means, how much damage can a unit take before dying, after reductions. In this case, magic resistance increases a unit's effective HP against magical damage. A unit with 0% magic resistance has 100% effective HP against magical damage, means magical damage equaling 100% of its health is required to kill it. Most heroes have Expression error: Unrecognized punctuation character "{".% magic resistance by default, making their effective HP against magical damage Expression error: Unrecognized punctuation character "{".%.
Formula:
- Effective HP = Total HP / (1 - magic resistance × 0.01)
Example:
- Anti-Mage has Expression error: Unrecognized punctuation character "{". health at max level. With his basic magic resistance, max level Spell Shield and a Cloak, he has an effective HP of:
- Expression error: Unrecognized punctuation character "{". / (1 - Expression error: Unrecognized punctuation character "{". × 0.01) = Expression error: Unrecognized punctuation character "{". effective HP
- Visage has Expression error: Unrecognized punctuation character "{". health at max level. With his basic magic resistance, while under the effect of Veil of Discord and an enemy level 4 Decrepify, he has an effective HP of:
- Expression error: Unrecognized punctuation character "{". / (1 - Expression error: Unrecognized punctuation character "{". × 0.01) = Expression error: Unrecognized punctuation character "{". effective HP
Magic resistance on units
Unit | Base magic resistance | Cloak Aura | (Aura) | (Item + Aura) | (Ability) | ||
---|---|---|---|---|---|---|---|
Standard hero | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% / Expression error: Unrecognized punctuation character "{".% |
Meepo | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% / Expression error: Unrecognized punctuation character "{".% |
Visage | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% / Expression error: Unrecognized punctuation character "{".% |
Pudge (level 4 Flesh Heap) | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% / Expression error: Unrecognized punctuation character "{".% |
Rubick (level 4 Null Field) | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% / Expression error: Unrecognized punctuation character "{".% |
Viper (level 4 Corrosive Skin) | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% / Expression error: Unrecognized punctuation character "{".% |
Anti-Mage (level 4 Spell Shield) | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% / Expression error: Unrecognized punctuation character "{".% |
Huskar (level 4 Berserker's Blood) | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% / Expression error: Unrecognized punctuation character "{".% |
Spirit Bear (level 4) | Expression error: Unrecognized punctuation character "{".% ( Expression error: Unrecognized punctuation character "{".%) | Expression error: Unrecognized punctuation character "{".% ( Expression error: Unrecognized punctuation character "{".%) | Expression error: Unrecognized punctuation character "{".% ( Expression error: Unrecognized punctuation character "{".%) | Expression error: Unrecognized punctuation character "{".% ( Expression error: Unrecognized punctuation character "{".%) | Expression error: Unrecognized punctuation character "{".% ( Expression error: Unrecognized punctuation character "{".%) | Expression error: Unrecognized punctuation character "{".% ( Expression error: Unrecognized punctuation character "{".%) | Expression error: Unrecognized punctuation character "{".% ( Expression error: Unrecognized punctuation character "{".%) / Expression error: Unrecognized punctuation character "{".% ( Expression error: Unrecognized punctuation character "{".%) |
Lua error in Module:VarQuery at line 21: No results found.. Warlock's Golem | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | - | - | - | Expression error: Unrecognized punctuation character "{".% |
Familiars | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | - | - | - | Expression error: Unrecognized punctuation character "{".% |
Necronomicon summons | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | - | - | - | - |
Eidolons, Mud Golems & Shard Golems | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | - | - | - | - |
Roshan | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | - | - | - | - |
Ancient creeps | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | - | - | - | - |
Siege creeps & Lycan Wolves | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | Expression error: Unrecognized punctuation character "{".% | - | - | - | - |
Sources of magic resistance bonus
- Anti-Mage - [[Anti-Mage#|]]Magic Resistance Bonus: 26%/34%/42%/50%
Passive. - Radius: 900
Hero Magic Resistance Bonus: 5%
Non-Hero Magic Resistance Bonus: 20%
Multiple sources of Cloak Aura stack. - Magic Resistance Bonus: 15%
Passive. - Magic Resistance Bonus: 15%
Passive. - Magic Resistance Bonus: 45%
Duration: 5
Glimmer provides the magic resistance bonus only while invisible. Has a 0.6 seconds fade time and reapplies itself for the duration. - Magic Resistance Bonus: 25%
Passive. - Max Magic Resistance Bonus: 20%/30%/40%/50%
Passive. Grants magic resistance for each point of health missing, reaching the cap at 10% health. - Magic Resistance Bonus: 30%
Passive. - Radius: 900
Magic Resistance Bonus: 10% - Magic Resistance Bonus: 6%/8%/10%/12%
Passive. - Rubick - [[Rubick#|]]Radius: 900
Magic Resistance Bonus: 10%/14%/18%/22%
Aura. - Magic Resistance Bonus: 33%
Passive. Only available on level 4. - Magic Resistance Bonus: 10%/15%/20%/25%
Passive.
Sources of magic resistance reduction
- Radius: 275
Magic Resistance Reduction: 15%/20%/25%/30%
Vortex Duration: 16
The effect lingers for 0.5 seconds. - Radius: 350
Base Magic Resistance Reduction: 40%/60%/80%/100%
Only reduces base magic resistance, ignoring magic resistance bonuses. The aura's debuff lingers for 1 second. - Magic Resistance Reduction: 40%
Enemy Duration: 3
Ally Duration: 4
Does not stack with the reductions of other ethereal effects, the one with higher value takes priority. - Magic Resistance Reduction: 40%
Duration: 4
Does not stack with the reductions of other ethereal effects, the one with higher value takes priority. - Magic Resistance Reduction: 20%
Duration: 3/3.5/4/4.5
Does not stack with the reductions of other ethereal effects, the one with higher value takes priority. - Enemy Magic Resistance Reduction: 30%/40%/50%/60%
Ally Magic Resistance Reduction: 25%
Duration: 3.5
Does not stack with the reductions of other ethereal effects, the one with higher value takes priority. - Magic Resistance Reduction: 30%/35%/40%/45%
Duration: 3/4/5/6 - Magic Resistance Reduction: 25%
Duration: 16
Sources of 100% magic resistance
These abilities grant 100% magic resistance to the affected units, reducing every magical damage they take to 0, and ceasing the effects of magic resistance reductions.
- Duration: 10/9/8/7/6/5
Duration decreases with each use, capped at 5. - Earth - [[Earth#|]]Duration: Permanent
- Duration: Whole leap duration or up to 5 seconds, whichever is shorter.
- Duration: 5
- Duration: Permanent
- Duration: 4/5/6/7
- Duration: 3/3.5/4/4.5
Magical damage barrier
A magical damage barrier absorbs a set amount of magical damage. It absorbs the damage before it is reduced by magic resistance, unless the resistance is provided by spell immunity. This means when a hero with a Expression error: Unrecognized punctuation character "{".% magic resistance and a 300 health damage barrier gets hit by 400 magical damage, the shield will absorb 300 of that. The exceeding 100 are not absorbed and are now reduced by the Expression error: Unrecognized punctuation character "{".% magic resistance down to Expression error: Unrecognized punctuation character "{".. So in this scenario, the hero takes Expression error: Unrecognized punctuation character "{". damage. This means a barrier is more effective the lower a unit's magic resistance is, similar to how damage block is more effective, the lower the armor is.
Magical damage barriers do not absorb magic damage which is directly added to attack damage (for example, Time Lock and Monkey King Bar's Mini-Bash), as they only absorb magical damage which counts as spell damage. Effects which add magical damage directly to the attack damage count as attack damage as well, and not as spell damage, and are therefore not absorbed.
Multiple sources of magical damage barriers do not stack. When affected by multiple, all of them deplete at the same time. For example, if a unit is affected by a level 4 Flame Guard ( barrier health) and by Pipe of Insight ({{#show:Pipe of Insight#Barrier|?value2#}} barrier health), and then takes 300 magical damage, both shields lose 300 capacity, leaving Flame Guard with -300 and Pipe of Insight Expression error: Unrecognized punctuation character "{". absorb capacity.
Sources of magic damage barriers
- Barrier Health: 325
Duration: 12
This is an old ability. - Barrier Health: 400
Duration: 12
See also