UnitAddAbilityBJ
- Parameters
abilityId integer
whichUnit unit
- comment
Equivalent to
UnitAddAbility
, but arguments are swapped.- patch
1.07
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
boolean
- Source code
function UnitAddAbilityBJ takes integer abilityId, unit whichUnit returns boolean return UnitAddAbility(whichUnit, abilityId) endfunction