Heroes/Mechanics

Heroes are the essential main characters of Dota 2, controlled by the players. Heroes possess the three attributes,, and , from which one is their primary attribute. They capable of leveling up through the means of experience, up to level, gaining additional attribute points, and ability points which can be spent to level up abilities or gain even more attributes. Heroes are also able to spend gold to purchase items.

Spawning
All heroes spawn once at the beginning of the match after the picking phase, but only if the player locked in their pick.

The only heroes which spawn later on are hero clones, which can only be created by 3 heroes:
 * , who can create temporary clone of himself by casting, which expires like a regular summon.
 * , who can gain up to  permanent clones of himself by leveling, which all die together when any of them dies (including Meepo Prime).
 * , who can create an army of temporary clones with, which are uncontrollable and only attack heroes.

Like heroes, these clones do not disappear when dying (or expiring). respawn like regular heroes, while Arc Warden's and Monkey King's clones respawn whenever or  is cast again. These hero clones are almost fully treated like regular heroes, with a few special interactions with some spells for fairness. However, since Meepo's clones and Arc Warden's clone work fundamentally differently (Meepo clones being permanent like heroes, and death to one means death to all, while Arc Warden's clone is rather similar to a summon or an illusion), each have different unique interactions. Monkey King's clones rather act like a spell effect and cannot be interacted with in any way. They stand at set locations and attack nearby enemy heroes automatically until the spell expires.

Illusions are also hero-type units, but unlike heroes, they do not respawn, but despawn completely after dying, like other units and summons. Each spell which creates illusions spawns completely new illusions on recast. Illusions are basically hero-based summons, copying the hero, but acting like a summon.

Killing and Dying
Killing a hero grants players much bigger bonuses than killing almost any other unit. Heroes grant scaling based on their level and their current killing streak, and scaling  based on their level. Heroes also gain killing streaks upon killing heroes. A killing streak increases the hero's bounty, increasing its value for the enemy. A killing streak starts with hero kills without any deaths in-between, and is capped at  kills. A streak longer than has the same worth as a  killing streak. A hero's current streak is globally announced whenever it makes a kill.

The very first hero kill of the match, called the vo announcer killing spree announcer 1stblood 01.mp3 First Blood!, also grants an additional to the killing hero.

A hero is only granted this gold if it actually killed the enemy (i.e. did killing blow). Otherwise, the hero either only gets assist gold and experience, or no gold and experience at all, based on how much time passed since the last time it damaged the target, and how far away the hero is if too much time passed.

Killing a hero also grants experience based on the hero's level. The higher the hero level, the higher the possible bounty is given. Although a hero can level up to, the experience bounty is out at level 25.

A table showing how much gold a hero grants and loses on death can be found here. A table showing how much experience a hero grants on death can be found here.

Killing multiple heroes in quick succession also results in a multi-kill. However, unlike a killing streak, a multi-kill has no gameplay influence and merely serves for aesthetics. Multi-kills do not require the hero to stay alive in-between the kills, if the hero dies, the multi-kill can still continue. A multi-kill occurs when killing a second hero within seconds of the first kill. The multi-kill can be extended by killing even more heroes, all within seconds of the previous kill. Like a killing streak, a multi-kill has no limit, but is "soft-capped" at 5, repeating the same line for 5 and more kills. The multi-kill stages are:

A hero's death has a much bigger impact than the death of almost any other unit. When a hero dies, it stays dead for an amount of time based on its level and the player loses gold based on the player's $$\tfrac{\text{NetWorth}}{13}$$. There is no way to directly reduce or avoid this gold loss. However, only unreliable gold is lost, reliable gold is not lost on death, meaning if a hero has almost no unreliable gold but a lot of reliable gold, dying does not cost as much as it would with much unreliable gold and little reliable gold. Dying also results in the loss of any ongoing killing streak the hero has. Heroes do not lose experience on death. As mentioned before, a death also grants gold and experience to nearby enemies and the killer. However, gold and experience is only granted to the enemy, and streaks are only lost when dying to an enemy.

Dying to neutral creeps, or getting denied by an ally or oneself neither grants the enemy any bounty, nor ends the current killing streak.

Respawning
After the first spawn, a hero does not spawn again. However, what heroes do instead is respawning. 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. Upon respawning, the hero gets instantly moved to the fountain area, with its health and mana reset. Cooldowns are unaffected and buffs and debuffs are not cleared upon respawning. The hero also turns invulnerable if there is an enemy hero within the base, which lasts until the respawning hero is issued a command, preventing spawn-camping.

Several abilities and items are able to affect the respawn timer and the respawn location.

When affected by respawn time changing effects, the buyback penalty is applied first, followed by 's increment. and the always set the respawn timer to their values, disregarding any reducing or increasing effect.

Furthermore, dying to neutral creeps sets respawn time to a minimum of seconds.

The respawn times can be seen in the following table.

Buyback
Due to the high cooldown, high gold cost and heavy penalties, using buyback should be a thoroughly thought through action, as it can backfire and cause more harm than good. Scenarios where a buyback may be a good idea is when a crucial team fight starts while one is dead, in order to join the fight. Another crucial moment is when the base needs defending, or when having died during a team fight which your team still won and is going for a final push. Buyback should generally not be used to skip death timing to farm, as the gold cost is usually too big to make it ever worth it. Also, the death time penalty gets added on the next death. Especially on high levels, an early or ill-fated buyback can easily lead to a very long respawn time on the next death.


 * Buyback cost with certain networth values

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 not enough gold, or it 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, and 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.

Leveling


Every hero starts off at level 1 and can level up times, up to level. Each new level grants the hero some /  /  attribute points (different values for each hero). Ability points are gained up to level 25 which they can use to level up abilities or a talent. Some abilities require the hero to be on certain levels to be learned or leveled up further. Most basic abilities have 4 ability levels and can be leveled on level 1,, and. Talents can be upgraded at levels 10, 15, 20, and 25. Ultimates usually have 3 levels and can usually be leveled up at level, and. The exceptions are, who requires different levels for his ultimate, and , who has unique different ability scheme.

Heroes level up through the means of experience, which is gained by killing enemy units, or by being within proximity of an enemy unit while an ally kills that enemy unit. The required distance to gain experience is if the kill is not done by the hero, or if the killed unit was not a hero. Killing other heroes always grants experience, regardless of distance. When multiple heroes are within range of an enemy unit which gets killed, the experience gets evenly split among the heroes. This includes every single clone of, but excludes 's. If a hero is already on max level, it still gets its share of experience when within range, even though it has no use for it anymore, causing it to get wasted. A hero cannot gain and does not get its share of experience while dead. An exception to this is after acquiring.

A Hero level up.mp3 level up is indicated by a visual effect, an angled yellow light beam from the sky shining on the hero. This light beam is visible to everyone. A sound effect is also played, which is only audible to the player.

Ability Interactions
Just like any other unit type, the hero unit type causes several different interactions with abilities. Some abilities cannot affect heroes at all, while others have altered effects or different values when used on heroes.

The following abilities cannot be cast on, or cannot affect heroes:

On the other side, these abilities can only target or affect heroes:

The following abilities interact differently with heroes:

Gallery
Герои/Механика 英雄/机制