Experience



Experience allows heroes level up, which makes them stronger and allows them to learn new abilities. Experience is earned by being within 1300 range of an enemy unit that dies. It takes increasingly more experience to level up as a hero's level progresses. Units can be denied by other allied units to reduce the experience given from dying.

Acquiring Experience
When an enemy unit dies, experience is granted and divided among all allied heroes in a 1300 range.


 * Experience is granted by all units: heroes, creeps, and buildings.
 * Denied creeps grant 50% of the usual experience.
 * Denied heroes grant no experience or gold to anyone.
 * Units summoned by spells or items give 50% experience.
 * Heroes take their share of experience even after level 25, even though they cannot use it.
 * A hero cannot earn experience while dead, unless they own.
 * hero kills award experience to the killer, no matter how far away they are.
 * Each clone counts as a hero for the purposes of dividing experience.
 * Experience (and gold) are awarded independently of the assist counter on the scoreboard, which only counts if a hero dealt damage, and ignores proximity to the dying hero.

Abilities
Some items award a hero with experience, namely:



Hero Kills
When an enemy hero is killed, allied heroes within range receive an experience reward, split up into two parts: killing experience and assist experience. Killing experience is based on the level of the killed hero, and assist experience is based on the experience difference between the teams.

Killing Experience
When an enemy hero dies, an experience reward is divided equally among allied heroes in range. The killer will receive the reward even if he is not in range. The formula awards total experience as follows:

If 'x' is the level of the killed hero, the amount of experience gained (f(x)) is:
 * For levels 1-5: f(x) = f(x-1) + 20(x-1); f(1)=100
 * For levels 6 and further: f(x) = f(x-1) + 100; f(5) = 300

Or you can combine them into one formula: f(x) = (10x2 - 10x + 90) H(5.5 - x) + (100x - 200) H(x - 5.5)

Assist Experience
When an enemy hero dies, allied heroes within 1300 range receive an experience reward. The formula is as follows:

XP Difference is defined as ( EnemyTeamXP - AlliedTeamXP ) / ( EnemyTeamXP + AlliedTeamXP ) and has a minimum of zero.

Hero Summons
All hero-summoned units grant 50% experience.

Denying
Denying occurs when a hero lands a killing blow on an allied unit. Heroes can only target allied creeps if they are under 50% health, and can only target allied heroes if they are afflicted with certain debuffs. Enemy heroes in 1300 range split half the usual experience bounty. Denying an allied unit prevents the opponents from earning gold.

Leveling
Each hero starts the match at level 1, with one ability point to spend. A hero levels by acquiring a certain amount of experience. When a hero levels, its attributes get increased according to that hero's individual attribute bonuses, and it gains ability point. The ability point can be spent on an ability which has not been maxed out, or for an to increase the hero's  Strength,  Agility, and  Intelligence by an additional 2 points each. Ability points do not need to be spent immediately, a hero can level up multiple times while saving the ability points.

The amount of experience required to level up is generally equal to the upcoming hero level * 100. For example, to increase a hero's level from 1 to 2 a hero requires 200 experience points, while leveling up from 24 to 25 requires 2500 experience points. There are a few exceptions for some levels in the 7–13 range to allow mid-game heroes to peak slightly earlier.