Obtenir la santé du personnage sous forme de pourcentage.
character:lifePointsP()
float
local hpPercent = character:lifePointsP() if hpPercent < 30 then global:printError("Santé critique !") -- Utiliser une potion de soin inventory:useItem(123) end