UnitAddAbilityBJ

Parameters
abilityId integer
whichUnit unit
comment

Equivalent to UnitAddAbility, but arguments are swapped.

patch

1.07

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