The setHPLevel native AI script function adds a factor of the max HP to the current HP level of each bot of the group.
()setHPLevel(Coef: f)
()setHPLevel(0.8);
This example code adds 80% of its max HP to the current HP level of each bot of the group.