Code:
health -= attack;
Decrement health, by attack.


What do you mean refresh the variables? just zero them if you want to clear them.