Pretty simple, the pseudocode is:
CurrentHP = Min(MaximumHP, CurrentHP + RegenPerSecond * DeltaTime);
You can write that in Blueprints using OnEventTick or in C++ in any tick method.
Pretty simple, the pseudocode is:
CurrentHP = Min(MaximumHP, CurrentHP + RegenPerSecond * DeltaTime);
You can write that in Blueprints using OnEventTick or in C++ in any tick method.