How can I use a damage function to damage and hold the data in a variable?

GREAT! Thank you!!!