BlzGetUnitAbilityByIndex
- Parameters
whichUnit unitindex integer- comment
Returns a handle to specific unit's ability instance.
- note
Last added ability is at index 0, older abilities are pushed up.
- patch
1.31.0.11889
- Source
- common.j (suggest an edit or discuss on Github)
- return type
ability- Source code
native BlzGetUnitAbilityByIndex takes unit whichUnit, integer index returns ability