Returns the initial life value of a unit. All units spawn with "max HP" and this value will never change. Can be used with Unit.getLife() to determine the percentage of a units life as each unit has a unique life value.
The following example will show the percentage of life left for a given unit.
local tank = Unit.getByName('tank1')
local life = tank:getLife()/tank:getLife0()