refreshVitals beta
Function of @v12-engine/engine
ts
export declare function refreshVitals(world: World, entity: Entity): void;Brings the most health and mana an entity can have in line with its stats. What is gained is added to what it has, what is lost is only taken when it has more than it can hold.