When you get the middle varible to 11, damege will be reset. It's up to you to find whiche varible is wich.