User:Irismus/SandboxPage

Debuff Immunity is a modifier that stops most debuffs or negative ability effects on a unit. Most debuff immunity sources also grant magic resistance bonus as a secondary effect.

Debuffs and Buffs
Debuff immunity is a status effect. Most debuffs in the game first check whether or not the unit has the debuff immunity status. If the status is present, the debuff's effects cease temporarily, until the unit is no longer debuff immune. However, some debuffs (commonly those placed by ultimate abilities) pierce debuff immunity, meaning their effects carry on normally.

Usually, a debuff either fully pierces debuff immunity, or it is fully blocked. However, there are a few exceptions to this rule. Whether or not a debuff pierces debuff immunity is noted down in the description boxes of each ability, right below the ability name.

Note that debuff immunity protects the unit from negative effects of debuffs. If a debuff has positive effects, it may apply them still, like increasing movement speed. Furthermore, if a debuff has functional effects that only use the target as a source of origin, their effects continue (e.g. continues striking,  continues to deal damage around the unit). Debuffs that have triggers can still have their effects triggered, like, , and ), the triggered effect is then still subjected to debuff immunity. Debuffs that apply buffs or debuffs on other units can still do so (e.g. still grants attacking enemies attack speed).



The following status effects are prevented by debuff immunity:
 * Stun/Sleep
 * Silence/Mute/Break
 * Disarm/Blind
 * Cyclone, the unit stays on the ground
 * Hex, the unit's model does not change
 * Forced Movement, the movement gets immediately interrupted in most cases
 * Fear/Taunt
 * Root/Leash
 * Ethereal/Attack immunity
 * Slows
 * General stats reductions
 * movement Speed/Turn Rate
 * Attack Speed/Projectile Speed
 * Attack Damage/Spell Damage
 * Magic Resistance/Status Resistance/Armor
 * Attack Range/Cast Range
 * Attack Animation/Cast Animation
 * Strength/Agility/Intelligence
 * Health/Health Regen/Heal
 * Mana/Mana Regen/Mana Restore
 * Lifesteal/Spell Lifesteal
 * vision

All spells that pierce Debuff Immunity will have effect and deal their damage while ignoring the Magic Resistance granted by debuff immunity If debuff immunity expires before the debuff then it will take effect for the remaining duration
 * Examples


 * 1)  has  active and is affected by . She will not be slowed but will still take damage. Since the damage type applied is magical, it will be reduced by the current total  magic resistance.
 * 2)  has  active and is affected by . She is stunned and damaged. The damage type applied is magical and is reduced  magic resistance, but additional magic resistance from Avatar itself will be ignored.

Example 3: Your BKB is active. Silencer attacks you with Glaives of Wisdom (pure, doesn't pierce Debuff Immunity). You won't take any pure damage. Example 4: Your BKB is active. Bane casts Fiend's Grip (pure, pierces immunity) on you. You will be stunned and will take 100% of the pure damage. Example 5: Your BKB is active but expires in 1s. Someone used Orchid Malevolence (doesn't pierce immunity) on you. You won't be silenced for that 1 second, but you will be silenced as soon as Avatar expires. Example 6: Your BKB is active and you're using TP. Crystal Maiden casts Frostbite (magical, doesn't pierce immunity) on you. You won't be rooted or interrupted unless the Avatar expires before the Frostbite debuff.