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