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

return type
ability
Source code
native BlzGetUnitAbilityByIndex                    takes unit whichUnit, integer index returns ability
Source
unit.j
wc3modding.com
BlzGetUnitAbilityByIndex