User:Irismus/SandboxPage



Death is when a unit's health reaches 0. When a unit dies, certain ability effects can be triggered, and certain debuffs can be dispelled.

Reincarnation
Reincarnation sources respawn the unit at its death location after its effect delay, and have the following priority:

➤ 's  ➤ 's Reincarnation

Respawning
After the first spawn, a hero is not created again. However, it respawns. After a hero dies, it comes back to life after an amount of time, based on its level. The maximum respawn time is reached on level 25. Only the following units can respawn: Heroes, and.

Upon respawning, the hero gets instantly moved to the fountain area, facing 45° toward the northeast or the southwest, if they belong to the or  faction respectively. The hero's health and mana are replenished. Cooldowns are unaffected and buffs and debuffs are not cleared upon respawning.

The hero also turns invulnerable and untargetable if there is an enemy hero within the base, which lasts until the respawning hero is issued a command, preventing spawn-camping. The invulnerability is provided by. Commands include any regular unit orders like moving, attacking, and casting abilities, as well as shop interactions like buying and selling items.

Respawn Time

 * Total respawn time can be defined as
 * Base Respawn Time [?]
 * Set Respawn Time [?]
 * + Buyback Respawn Time Increase
 * ± Other Flat Bonus Respawn Time

The respawn times can be seen in the following table, starting from s and increasing up until level 25, which will be at s.

Displays
The BUYBACK button is only accessible while dead. It is located on the right side of the death bar. The death bar replaces the HP bar while the hero is dead and shows the respawn time. On its right, the Buyback button is located.

The button has 3 different statuses:
 * When ready, the button is grey and heightened. On the button, it reads  BUYBACK  in white, and it also displays the current buyback  cost.
 * When having not enough gold, the button is red and pushed back. The  BUYBACK  text turns red, and it still displays the current  cost.
 * When on cooldown, it looks like when having not enough gold, but the gold cost is replaced by a cooldown timer, showing the remaining cooldown.

Alt a hero's portrait above prints the respawn time if the hero is dead.

The buyback status can also be seen by allies, below the hero icon at the top bar. If the flag has a golden border, that hero has buyback ready and can use it. If there is no golden border, the player has either does not enough gold or is on cooldown. Like the death bar, this is only visible while dead.

Lastly, the buyback status is also displayed in the gold tooltip, which can be accessed by hovering the mouse over the gold. It displays the currently required amount of gold for the buyback, its cooldown status, how much gold the player still needs for the buyback, or how much surplus gold they have.

When a hero buys back, a string sound plays Music default buy back.mp3 which is audible to everyone, and a gold stack icon appears below the hero's top bar icon, which stays there for several seconds, visible to everyone. The hero also responds to the buyback. Unlike their responses on a regular respawn, which are only audible to the player, a buyback response is audible to everyone. This means no matter what setting a player uses, there is always a cue revealing that a hero bought back.

Death Affecting Abilities
The following on-death effects trigger if the unit dies, and do not trigger if the unit has Reincarnation sources. Please refer to the ability notes for each of the abilities' on-death effect(s).

Forced Kill
The following abilities use the instant kill mechanic to forcefully remove or kill its unit(s) from the game when certain conditions are met.

Death Preventing Modifiers
(e.g.,, and ).

Kill Credit Manipulation
Priority order