UnitAddAbilityBJ

Parameters
abilityId integer
whichUnit unit
comment

Equivalent to UnitAddAbility, but arguments are swapped.

patch

1.07

return type
boolean
Source code
function UnitAddAbilityBJ takes integer abilityId, unit whichUnit returns boolean
    return UnitAddAbility(whichUnit, abilityId)
endfunction
Source
Blizzard.j
wc3modding.com
UnitAddAbilityBJ