-
Notifications
You must be signed in to change notification settings - Fork 94
set_hp_level
Ryzom Core Wiki edited this page Jul 8, 2024
·
4 revisions
title: Set HP Level description: published: true date: 2023-03-16T23:10:52.815Z tags: editor: markdown dateCreated: 2023-03-16T22:28:30.148Z
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)
- Coef (float): The percentage of its max HP each creature will have added to its current HP.
()setHPLevel(0.8);
This example code adds 80% of its max HP to the current HP level of each bot of the group.