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

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