SetDestructableLifePercentBJ

Parameters
d destructable
percent real
return type
nothing
Source code
function SetDestructableLifePercentBJ takes destructable d, real percent returns nothing
    call SetDestructableLife(d, GetDestructableMaxLife(d) * percent * 0.01)
endfunction
Source
Blizzard.j
wc3modding.com
SetDestructableLifePercentBJ