UnitAddAbilityBJ

Parameters
abilityId integer
whichUnit unit
comment

Equivalent to UnitAddAbility, but arguments are swapped.

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