BlzGetUnitAbilityByIndex

Parameters
whichUnit unit
index 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
return type
ability
Source code
native BlzGetUnitAbilityByIndex                    takes unit whichUnit, integer index returns ability