Create 2 variables , name the first one mana The second manamax Make a condition that mana does not become more manamax To display in the graphical interface, you will have to create as many procedures as you will have elements. And use a similar procedure. In my procedure, I have an element showing if it becomes a percentage of mana. In your procedure, you can just write the values
The difficulty is to show the variable on the screen, search in the forum
Create 2 variables , name the first one mana The second manamax Make a condition that mana does not become more manamax To display in the graphical interface, you will have to create as many procedures as you will have elements. And use a similar procedure. In my procedure, I have an element showing if it becomes a percentage of mana. In your procedure, you can just write the values