Invisibility



Invisibility is a status effect that causes the unit to not be seen by the enemy, even when within their range of vision, allowing the unit scout, spy on, and ambush enemies by sneaking through their lines. However, enemies can counter this by acquiring True Sight.

Mechanics
An invisible unit is unselectable for the enemy team, and also attack immune against them. They are also flagged as invisible, which causes many different interactions with several abilities.

Invisibility always applies a disjoint upon getting applied. This is a one-time event that happens once upon turning invisible, and not periodically over the entire duration. The disjoint is not applied if the enemy has True Sight over the unit.

Appearance
Invisible units are not rendered for the enemy team, so that they cannot see them at all. Their minimap icon stops showing up for them as well.

To allies of the unit, and to enemies that have True Sight over the unit, the unit appears transparent, but still visible. They can be selected and attacked normally, and are not treated as invisible by abilities. On the minimap, their marker appears as a ring with a pointer, instead of a full circle with a pointer.

To enemies that have shared vision over the unit, the unit's silhoutte becomes visible, while the model itself is still invisible. The unit can be selected, but still cannot be targeted by abilities and attacks.

Invisible units do not cast shadows, neither to enemies nor to allies.

Fade Time
Most sources of invisibility have an initial short time period before taking effect, during which unit is not considered invisible, and therefore still visible and targetable. This period is known as the Fade Time. Sources of invisibility that use a fade time are only applied once. If the invisibility gets broken in any way, the invisibility does not get re-applied.

During the fade time:


 * The unit's models gradually gains transparency, until reaching full invisibility at the end of the fade time.
 * The unit never attacks automatically, regardless of auto attack settings. Automatically started attacks get canceled.
 * The unit can still manually be ordered to attack, and perform attacks without breaking the invisibility. Manually started attacks do not get canceled.
 * The unit can also cast abilities and items, neither do already started casts not get canceled.
 * The unit is not phased.

These are the default behaviors. Some abilities using a fade time may deviate slightly from this and have unique behaviors.

Fade Delay
Some sources of invisibility periodically turn the unit invisible over their entire duration. This means if the invisibility gets broken, they turn invisible again after a time period. This period is known as the Fade Delay. Usually, the fade delay is also applied upon initially gaining the invisibility, taking the role of the fade time.

During the fade delay:


 * The unit's model stays completely visibile.
 * The unit does not stop automatically attacking nearby enemies when the auto attack option is turned on.
 * Casting abilities or items, or performing attacks resets the fade delay again, considering the source invisibility gets broken by casting or attacking.

Unit Behavior
While invisible, a unit never automatically attacks any nearby enemy, not even when it is revealed by True Sight and being attacked. ground-targeted order (A), the invisible unit attacks. Generally, the invisibility is lost upon reaching the attack point. For ranged heroes, this is upon projectile launch.

As for casting abilities, the invisibility is lost upon reaching the cast point of the ability. This means that abilities with extended effects i.e. or  do not cancel the invisibility upon each beam or pulse. Channeling abilities do not cancel it either when going invisible after the channeling started.

Permanent Invisibility
The following units are permanently invisible.

1 Has a fade delay of seconds.

True Sight
True Sight is a negative status effect that renders the effects of invisibility null. A unit affected by True Sight is no longer considered invisible to them, until the True Sight status effect is removed. This means they can be selected and targeted normally, and are not treated as invisible units by abilities anymore.

True Sight is not to be confused with exposure. While True Sight directly works against invisibility, exposure only reveals their silhouette and makes them selectable again. They remain untargetable, attack immune, and are still treated as invisible by abilities.

True Sight Immunity
Some abilities provide True Sight immunity, which prevents True Sight from revealing the units.

1 Requires. Turns all of Techies' mines within its radius immune to True Sight.

Targeting invisible units
Most spells which affect an area usually affect invisible units as well, with some exceptions. Single target spells cannot target invisible units without the help of True Sight. Although shared vision renders the unit's model visible even during invisibility, it is not enough to allow single target spells to target them.

Spells which choose specific or random targets on cast behave inconsistently with invisibility. This includes all bouncing spells (e.g. ) and multi-target spells like and. The following such spells do not target invisible units:

1 Requires. When upgraded, these spells can target secondary units, but ignore invisible ones.

2 Requires a talent. When upgraded, these spells can target secondary units, but ignore invisible ones.

3 These spells choose a new target if their current target dies. They do not choose invisible targets.

4 does not bind the target to their invisible allies, but keeps the link up if an already bound unit turns invisible.

5 also includes the single strikes from  upgraded.

6 does not seek for invisible units. The area effect does hit nearby invisible units.

7 The secondary is not created on invisible enemies. The area damage does affect invisible units.

8 does not select nearby invisible enemy units to toss. The area damage does hit invisible enemies.

The following spells have mixed interactions:

Turning invisible after cast
For most spells, it does not matter if the target turns invisible after the spell's effect already have begun. Their effects continue normally, regardless of the invisibility. There are exceptions to this.

All sources of invisibility disjoint projectiles. Even a split-second of vision loss caused by invisibility is enough to disjoint projectiles, even when regaining vision of the unit before the projectile reaches it. This disjoint does not happen when having True Sight over the unit.

Besides disjointed projectiles, the following spells behave differently when their targets turn invisible while they are active.

Patch History
Invisibilidade Невидимость 隐身