![]()
Whenever a unit in DotA dies, all nearby heroes that are allied with the unit that killed it gain an amount of experience dependent on the killed unit's level. The experience is equally shared among all allies of the killing unit, the killing unit itself does not gain more experience than any other unit.
A few important things about experience:
- Experience range in DotA is 1200, all allied heroes in that area gain experience from the kill.
- Any hero kill done outside of this 1200 area grants experience to the killer.
- Killing a unit that you are allied with does not grant you experience.
- Heroes continue to take a portion of the experience even when they are level 25.
- Even building kills give experience.
Denies
Whenever a unit owned by the Sentinel or Scourge is killed by an allied player, it counts as a deny, and normal experience is not granted to nearby enemy heroes.
The amount of experience enemy heroes get for a denied unit is determined by the following:
Each melee enemy hero in 1200 range of the killed unit gets 36/n experience, and each ranged enemy hero gets 18/n experience, where n is the total number of enemy heroes within 1200 range.
Example: A Sentinel player denies a Treant, there are 2 Scourge melee heroes and one Scourge ranged hero within 1200 range of the killed unit.
- Each melee hero gets 12 (36/3) experience.
- The ranged hero gets 6 (18/3) experience.
Summons, Easy Mode, and extra hero experience
There are 3 factors that can cause units to give a different experience value than normal.
Summons
Units considered by Warcraft 3 to be summoned only give 50% (rounded down) of their normal experience when killed. Most units created by spells and items are considered as summoned.
The Unit Statistics guide lists which units are summons and which are not.
Easy Mode
When Easy Mode (-EM) is active, all units give 150% (rounded up) of their normal experience when killed.
Extra hero experience
Heroes that are in a 1200 area of a dying enemy hero will be granted a certain amount of XP, depending on the total number of allied heroes in that area.
- 1 Hero: 120+20*LevelOfDyingHero
- 2 Heroes: 90+15*LevelOfDyingHero
- 3 Heroes: 30+7*LevelOfDyingHero
- 4 Heroes: 20+5*LevelOfDyingHero
- 5 Heroes: 15+4*LevelOfDyingHero
Hero Experience Table
The table below shows experience required for heroes to be at a certain level, as well as experience gained from killing heroes and units. Below is an explanation of each of the columns.
Level: This indicates what level unit is being referred to by the other columns.
Experience Required: This is the minimum total experience a hero must have to be at the indicated level.
Hero Kill Experience: This is the base amount of experience given by killing a hero, it is split amongst all allied heroes of the killing unit within 1200 range. This value does not include the bonus experience that hero kills also give. This value will be 50% greater if Easy Mode is enabled.
Unit Kill Experience: This is the base amount of experience given by killing a unit, it is split amongst all allied heroes of the killing unit within 1200 range. This value will be 50% greater if Easy Mode is enabled, and 50% less if the killed unit counts as a summoned unit.
| Level | Experience Required | Hero Kill Experience | Unit Kill Experience |
| 1 | 0 | 100 | 25 |
| 2 | 200 | 120 | 41 |
| 3 | 500 | 160 | 62 |
| 4 | 900 | 220 | 88 |
| 5 | 1400 | 300 | 119 |
| 6 | 2000 | 400 | 155 |
| 7 | 2600 | 500 | 196 |
| 8 | 3200 | 600 | 242 |
| 9 | 4400 | 700 | 293 |
| 10 | 5400 | 800 | 349 |
| 11 | 6000 | 900 | 410 |
| 12 | 8200 | 1000 | 476 |
| 13 | 9000 | 1100 | 547 |
| 14 | 10400 | 1200 | 623 |
| 15 | 11900 | 1300 | 704 |
| 16 | 13500 | 1400 | 790 |
| 17 | 15200 | 1500 | 881 |
| 18 | 17000 | 1600 | 977 |
| 19 | 18900 | 1700 | 1078 |
| 20 | 20900 | 1800 | 1184 |
| 21 | 23000 | 1900 | 1295 |
| 22 | 25200 | 2000 | 1411 |
| 23 | 27500 | 2100 | 1532 |
| 24 | 29900 | 2200 | 1658 |
| 25 | 32400 | 2300 | 1789 |
Experience Formulae (advanced)
This section probably won't be understood unless you know how functions work in algebra.
The experience gained by killing units and heroes, and the experience required for a hero to level up are determined by the formulae below.
Experience required to level up
The total experience required to reach level x for most levels can be expressed as a function f(x):
- f(x) = f(x-1) + 100x
- f(x) = 50x2 + 50x - 50
Experience gained from killing a hero
The total experience gained by killing a hero of level x < 6 is expressed as a function f(x):
- f(x) = f(x-1) + 20(x-1)
- f(x) = 10x2 - 10x + 90
The total experience gained by killing a hero of level x > 5 is expressed as a function f(x):
- f(x) = f(x-1) + 100
- f(x) = 100x - 200
Combined into a single function using the Heaviside (step) function, we obtain the general formula:
- f(x) = (10x2 - 10x + 90) H(5.5 - x) + (100x - 200) H(x - 5.5)
Experience gained from killing a unit
The total experience gained by killing a unit of level x is expressed as a function f(x):
- f(x) = f(x-1) + 5x + 6
- f(x) = 2.5x2 + 8.5x + 14
Hero
- * Attributes
- * Experience
Unit/Hero Basics
- * Buildings
- * Fountains
- * Illusions
- * Roshan
- * Unit Types
Unit/Hero Specifics
- * Attack Speed
- * Cleave
- * Damage and Armor
- * Hitpoints and Manapoints
- * Invisibility
- * Lifesteal
- * Neutral Creeps
- * Targeting
- * Unit Statistics
Abilities
Items
Environment
- * Day and Night
- * Gold
- * Runes
- * Terrain and Vision
Misc
- * CustomKeys.txt
- * Factions
- * Healing
























