SetUnitLifeBJ

Parameters
whichUnitunit
newValuereal
comment
patch

1.00

Source
Blizzard.j (suggest an edit or discuss on Github)
return type
nothing
Source code
function SetUnitLifeBJ takes unit whichUnit, real newValue returns nothing
    call SetUnitState(whichUnit, UNIT_STATE_LIFE, RMaxBJ(0,newValue))
endfunction