Spell Immunity

From Liquipedia Dota 2 Wiki
This article is about Spell Immunity. For the mechanic used by Black King Bar, see Debuff Immunity.
Default buff icon
▶️ Error sound.
▶️ Magic shall not prevail!
Anti-Mage

Spell Immunity (formerly known as magic immunity) is a status that prevents most abilities from targeting the affected unit. This includes a single-targeted, area of effect, passive and active abilities.

Spell immunity is not provided by any ability, but granted to some units as an extra layer of protection, usually on ward-type units, or in combination with This unit is immune to everything. Invulnerability or Hidden units are not affected by most abilities. Hidden.

Mechanics[edit]

Spell immunity is a status effect (also known as modifier). Most abilities in the game first check whether or not the unit is spell immune. If true, single-target abilities cannot target the unit at all, while area-of-effect abilities ignore the unit, and already ongoing effects may stop affecting it. However, some abilities (and most ultimates) pierce spell immunity and can fully target and affect spell immune units.

Usually, an ability cast either fully pierces spell immunity, or is fully blocked. However, there are a few exceptions to this rule. Whether or not a spell pierces spell immunity can be viewed in the interactions list.

When a unit turns spell immune while a projectile from ability is already flying towards it, the projectile has no effect upon impact if the spell it originates from does not pierce spell immunity. The same applies to most, but not all delayed effects.

Spell immunity does not prevent regular attacks of any units. However, some attack modifiers do get blocked, but not all of them. Generally, critical strike, cleave, lifesteal, and most bashes pierce spell immunity.

Damage Interaction[edit]

Main Article: Damage Types

Spell immunity itself does not interact with damage at all. If an ability pierces spell immunity and has a damage component, its damage will still be applied normally, regardless of its damage type. Therefore, spell immunity only governs if an ability has any effect, not its damage types (nor its damage values).

A 0 damage instance is still registered and still may proc on-damage effect unless it is flagged as HP Removal.

If an ability does not pierce spell immunity, it does not attempt to damage spell immune units either, regardless of the damage type. In order for an ability to damage spell immune units, it must be set to pierce spell immunity, or it must be already affecting it in case of buffs/debuffs.

Dispel[edit]

Certain modifiers periodically check for spell immunity and remove themselves if it is detected. The following abilities periodically check for spell immunity:

Debuff Immunity[edit]

Debuff immunity is an innate component of spell immunity, stopping the effects of already existing debuffs on the unit, allowing them to resume once the spell immunity and thus the debuff immunity expires.

Sources[edit]

The following abilities provide spell immunity as an extra layer of protection. All of these abilities also apply invulnerability and/or hiding.

1 Other abilities in this list apply Hidden units are not affected by most abilities. Hidden. While these 2 abilities are active, the hero can be affected by Global Silence.

Non-hero Units[edit]

The following units are permanently spell-immune, either through a passive ability, or a modifier

Spell Immunity
Neither affected nor disabled by Break.
Passive
Affects
Self
This unit does not feel the effects from magical damage sources.


Piercing Spell Immunity[edit]

Spell Immunity prevents the use of most targeted spells and protects against most negative effects.

The command dota_create_ability neutral_spell_immunity can be used to add a passive ability that provides spell immunity.

Piercing Enemy Spell Immunity[edit]

Note that some effects (e.g. slow) continue to work if spell immune was obtained after their use, but the abilities themselves can't be used on an spell immune enemy. This list was tested on a hero who was spell immune from the very beginning.

Pierces Enemy Spell Immunity