Stormstout Guide said:The XP a hero gets when he kills a non-creep unit is based on this:
GrantNormalXP=25
F(1) = 25
// f(x) = A*f(x-1) + B*x + C
GrantNormalXPFormulaA=1
GrantNormalXPFormulaB=5
GrantNormalXPFormulaC=5
F(x) = 1 * F(x-1) + 5 * x + 5
So if a level 4 Hero kills a level 7 Creep, how much experience does he get? If the victim were not a Creep F(7) = 190 XP. Since it is a Creep he gets 55% (% cap explained above) of that, or 104 (rounded down).
level of killed unit x [(health max of killed unit / 10) + (mana max of killed unit / 10)]
XP= -----------------------------------------------------------------------------------------------
Nearby heroes