Warcraft III resources & community, 2003–2006 · archived

GetCreepDefaultXP

not rated
Submitted by KaTTaNaFunctions0 downloads
Returns the default amount of experience granted by a creep of the given level.
I'm not sure if the same applies for player-owned units and/or heroes.

Changin certain gameplay constants may cause this function to return inaccurate results.

Source

constant function GetCreepDefaultXP takes integer level returns integer
    return (2*level*level + 6*level + 12)
endfunction

Comments

0

No comments.