Hi i am WiebeHero and i got an issue here it is.
Code:
every 1 second:
loop all players:
loop-player's max health is above 9.5
if loop-player is wearing a helmet with lore "&7Reinforced I":
increase loop-player's max health by 1
if loop-player is not wearing helmet with lore "&7Reinforced I":
decrease loop-player's max health by 1
So it keeps adding up 1 but i just want it to add 1 without setting a max health like this: set loop-player's max health to 10
And decrease doesnt work for some reason is there another way?
Thanks!
Code:
every 1 second:
loop all players:
loop-player's max health is above 9.5
if loop-player is wearing a helmet with lore "&7Reinforced I":
increase loop-player's max health by 1
if loop-player is not wearing helmet with lore "&7Reinforced I":
decrease loop-player's max health by 1
So it keeps adding up 1 but i just want it to add 1 without setting a max health like this: set loop-player's max health to 10
And decrease doesnt work for some reason is there another way?
Thanks!