BlzGetUnitAbility

Parameters
whichUnitunit
abilIdinteger
comment
note

Returns the same ability instance for different building ability codes like 'AHbu', 'ANbu' etc. See GetUnitAbilityLevel.

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 BlzGetUnitAbility                           takes unit whichUnit, integer abilId returns ability