Question about leveling stats [ANSWERED]

Okay, so Ive been using RPG Maker for quite a while and I have a question, when a player levels up, do their stats INCREASE or are they set to a certain amount?

For example:

HP at Level 3 = 500

HP at Level 4 = 550

If a player is at Level 3 and uses an item that increases their Max HP, is their HP set to 550 HP at LVL 4 or does it increase by 50 since the difference between MaxHP at Level 3 and Level 4 is 50?
Level-stats and feature-stats are stored differently and added after modifications. You will not loose an stat-increase made by items when leveling up.
@Andar Oh, thank you!
I know this is beyond the scope of the question, but I believe it'll help to make the idea clearer:  the stat ups you get outside of leveling up are directly tied to the actor, so if the character were to class change, they would still retain them.
@Nirwanda Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/question-about-leveling-stats-answered.34676/