Giving a variable a new value under an if statement

saying “health = health - 1” should very well set the variable health to what it was minus one, what makes you think it doesnt work?
please post your code and use code tag when doing that

1 Like