how do you make that if the player
has 100 energy then the enemy attacks
the player has only 70 energy.

why doesn't this work
energy=100
energy = energy - 30

if do that then the players energy is -30!

Help me Please!!!!!