BlzGetUnitAbilityByIndex

Parameters
whichUnitunit
indexinteger
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 (raise an issue to discuss on Github or submit a PR)
return type
ability
Source code
native BlzGetUnitAbilityByIndex                    takes unit whichUnit, integer index returns ability