Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
Dota 2 Workshop Tools/Scripting/API/CDOTA Ability Lua.OnUpgrade
< Dota 2 Workshop Tools | Scripting | API
![Dead End - Icon.png](/w/images/f/f9/Dead_End_-_Icon.png)
This article has no links to other VDC articles. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
January 2024
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
Function Description
void OnUpgrade()
Ability gained a level.
- Example
function CDOTA_Ability_Lua:OnUpgrade( ) end