Attack Range

Attack range is the range at which a Hero may use his or her basic attack ability on another unit. There are two main subdivisions of attack range: melee and ranged Heroes. Attack range cannot be extended except by certain abilities.

Melee Heroes
Melee Heroes have very little range, and must be close to enemies in order to attack them. Typically, melee Heroes have strength as their primary attribute, as it allows them to tank damage easily, though there are exceptions.

Mechanics
Melee Heroes usually have an attack range of 128 units (although Doom Bringer has a range of 150 units, and Tiny with an Aghanim's Scepter has a range of 235). They earn a base of 36 experience when a nearby unit is denied, as opposed to ranged Heroes, which only earn 18. Melee Heroes also receive greater benefit from certain items, such as Vanguard or Quelling Blade. Additionally, some abilities only affect melee Heroes, such as Skeleton King's Vampiric Aura or Vladmir's Offering's lifesteal aura.

Cleave
Melee Heroes can use cleave, which deals damage over an area around them on each attack. The damage from cleave is determined from the attacking unit's damage, reduced by a percentage, and delivered to all enemies in the radius. It is not affected by armor value, only armor type. Cleave does not work for ranged Heroes.

Ranged Heroes
Ranged Heroes are able to attack enemy Heroes from a distance. Ranged Heroes have a variety of attack ranges, from little more than a melee Hero to over 600 units. Ranged Heroes also benefit from certain auras, such as Drow Ranger's Trueshot Aura. However, they also receive a lower benefit from many items, such as Vanguard or Skull Basher and cannot receive any sources of cleave or lifesteal auras, due to the advantage their range gives them in attacking enemy Heroes or creeps.

Ranged Heroes also have a 25% chance to miss any unit they attack when firing uphill.