So I'm making an RPG type game. I want a basic combat system that subtracts an amount of health from the character based on whether they hit or miss the enemy.
Right now I have:
(set: $health to 30)
Your health is $health
I want the health variable to be lowered during combat, but I don't know how.
Right now I have:
(set: $health to 30)
Your health is $health
I want the health variable to be lowered during combat, but I don't know how.